empty_apartment
06-19-2005, 03:54 PM
my problem is that I want 2 different pop up windows, but one of them shows in both windows. Help me please?
|
View Full Version : could someone help me with pop ups empty_apartment 06-19-2005, 03:54 PM my problem is that I want 2 different pop up windows, but one of them shows in both windows. Help me please? empty_apartment 06-19-2005, 04:08 PM :crying: I'm desperate :P Monkey Bizzle 06-19-2005, 04:20 PM Please, be patient... This is not a chat room. What code are you using? empty_apartment 06-19-2005, 04:22 PM sorry... This one between my head tags: <script language="javascript" type="text/javascript"> //<!-- function popup() { window.open ("me.htm","popup","width=400,height=300,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") } --> </script> <script language="javascript" type="text/javascript"> //<!-- function popup() { window.open ("you.htm","popup","width=400,height=300,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") } --> </script> </head> <body> <style type="text/css"> And this one in the body: <a href="javascript:popup()">me</a> <a href="javascript:popup()">you</a> Monkey Bizzle 06-19-2005, 04:32 PM you have to change the word popup for each new pop up... you should change it to reflect what the pop up is about so you don't get confused later. Try this instead: <script language="javascript" type="text/javascript"> //<!-- function me() { window.open ("me.htm","popup","width=400,height=300,loca tion=0,menubar=0,resizabl e=0,scrollbars=0,status=0 ,titlebar=1,toolbar=0") } --> </script> <script language="javascript" type="text/javascript"> //<!-- function you() { window.open ("you.htm","popup","width=400,height=300,loca tion=0,menubar=0,resizabl e=0,scrollbars=0,status=0 ,titlebar=1,toolbar=0") } --> </script> <a href="javascript:me()">me</a> <a href="javascript:you()">you</a> empty_apartment 06-19-2005, 04:36 PM thank you so much! :) |