
perlkid
stranger
Apr 22, 2000, 1:26 AM
Post #1 of 5
(367 views)
|
Cure, I need some of your magic! I am using a java scipt to open a popup window and that part works fine. The part the I'm having trouble with is when It open it displays a hour glass next to the mouse. So I know that it's still trying to preform somthing after the window is open. It seems like it is looping, and while it's doing whatever it is You can't click on anything but it's not a lock up, you can still close the window. I don't know much about java so I hope you can help me out here. The java script is; ###################### <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function popUp$number() { props=window.open('http://www.home.com/myscript.cgi?variable=$scalar', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=380, height=390'); } // End --> </script> ###################### The $number counts starting at one until there is nothing left. The java is being printed in search results so it's in foreach brackets. Could that be the problem? Foreach time the java script is printed it will have a unique number in the name and it will have the same values in it as the search results. And in the search results the url to open the java window is; <a href="javascript:popUp$number();" So that's what the environment around the java is like. Thanks a lot! perlkid
|