Click to See Complete Forum and Search --> : Multiple Pop Up Help!!
deadbolt5187
12-11-2003, 10:13 PM
I need to know how to make multiple popups. I can get it where you click on a link and one pop up comes up, but I need it so where I can have multiple links and all of them popups.
:confused:
Please help me! This is driving me CRAZY!!
EJH
Gollum
12-12-2003, 02:43 AM
Please help me! This is driving me CRAZY!!
Well, it's either you or the poor users who watch their screens turn into a minagere of popup windows...
well anyway here's how to do it...
<script type="text/javascript">
window.open("www.yoursite.com/popup1.html");
window.open("www.yoursite.com/popup2.html");
window.open("www.yoursite.com/popup3.html");
</script>
deadbolt5187
12-14-2003, 07:26 PM
That is great, yet I need it so where you click on a link for each window to open.
fredmv
12-14-2003, 07:38 PM
<script type="text/javascript">
//<![CDATA[
function go()
{
window.open('popup1.html', '', '');
window.open('popup2.html', '', '');
window.open('popup3.html', '', '');
}
//]]>
</script><a href="#" onclick="go();">Open three pop-up windows.</a>
deadbolt5187
12-15-2003, 06:07 PM
That is close but I need it so you click on a link and that link opens one page as a popup. Then you click another link and that opens up a brand new pop up. like this
Link #1
and a pop up would go to another page
Link #2
and a new pop up , same size as the last just a new page in it, would open.
Thanks for all your help so far!