Closed Thread Icon

Topic awaiting preservation: Slow JS pop-ups (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=8053" title="Pages that link to Topic awaiting preservation: Slow JS pop-ups (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Slow JS pop-ups <span class="small">(Page 1 of 1)</span>\

 
Skatefx
Bipolar (III) Inmate

From: Small Patch of Grass in CT
Insane since: Mar 2001

posted posted 01-29-2002 08:24

I am making a site and using a JS to make sized controlled pop-up windows. It seems like these windows are popping up slow and some are just not popping up. Can someone check this link out and let me know whats going wrong? Or does Someone have a better script I can use to create these windows?

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 01-29-2002 08:37

some are working and other not because of the 2nd param passed to .open() ,

you should pass a valid variable name as 2nd param:

works, it has a valid var name (2nd param)

code:
function PopWindow3()
{
window.open('http://www.trakxero.com/lyrics/diffraction.html','[b]Diffraction[/b]','width=300,height=550,menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=n o,top=50,left=100');
}
//-->
</script>



will not work, notice the bolded text

code:
<script language="JavaScript">
<!--
function PopWindow4()
{
window.open('http://www.trakxero.com/lyrics/firethatburnsinside.html','[b]Fire That Burns Inside[/b]','width=300,height=550,menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=no,top=50,left=100');
}



they are loading slow because the popped window have a background image which delays the window's load.

Skatefx
Bipolar (III) Inmate

From: Small Patch of Grass in CT
Insane since: Mar 2001

posted posted 01-29-2002 08:47

So what are you suggesting I do? Im not too good with this stuff.

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 01-29-2002 15:01

window.open(url,name,features)

just pass a valid name parameter, no spaces, or invalid characters.

that should do.

« BackwardsOnwards »

Show Forum Drop Down Menu