anesthesia
03-09-2003, 08:59 PM
I believe this to be one of the more simpler popup questions I've seen listed on the board...
I'm trying to use multiple popup windows from text links on a single page.. I've tried just about everything.. I can get a single window to work just fine but it's when I try to add a second that I have trouble.
Do I need to name each one and add a separate head coding for each or exactly how do I make it work? I will be placing 5 popup windows from my splash page to hold such things as cliques and such.. I know somone out there can help me.
frederick
03-09-2003, 09:30 PM
be sure that the bold parts are different for each and every pop up window you want.
<script language="javascript">
//<!--
function whatever1 ()
{ window.open ("your address.html","popup01 ","width=200,height=200,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>
<script language="javascript">
//<!--
function something-else2 ()
{ window.open ("your address.html","popup02 ","width=200,height=200,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>
understand?
and also remember to have the words where i wrote "whatever1" and "something-else2" in the other code that goes in the body. ok?
<a href="javascript:whatever1 ()">your words</a>
<a href="javascript:something-else2 ()">your other words</a>
anesthesia
03-09-2003, 09:32 PM
*lol* i've only been staring at this coding for about 3 hours. /boggles\.. thank you so much! i'll let you know how it turns out!
frederick
03-09-2003, 09:34 PM
ok, be sure to notice that i did edit it a bit.
anesthesia
03-10-2003, 01:55 AM
well, i finally got it to work.. i used the coding that you typed up for me here but i couldn't get the windows to actually pop.. it just changed the page to a new one.. so what i did was go and copy the main section of coding from the site, pasted it and made the changes that you told me to make.. i have no idea what the problem was, but it's working now! thank you so much! i would show you the results but i'm not entirely sure if that would be considered advertising or not :-/