View Full Version : popUp works locally only
nunomira
05-21-2003, 06:11 PM
doe anyone know why this doesn't open a popUp when I test it on the server, but works fine when tested locally?
what can I do?
<body onload="alert('something');window.open('pop1.htm','popup','width=600,height=420,')">
the alert() is triggered, but the rest isn't!
See if it will work in a function
function testme(){
alert('something');
window.open('pop1.htm','popup','width=600,height=420,')
}
<body onload="testme">
or try opening the popup first
cheesebagpipe
05-21-2003, 06:16 PM
This is a syntax error. Might (or might not) be related.
....,'popup','width=600,height=420,')">
Damn! never noticed that, I'' have to get new glasses
:D
nunomira
05-21-2003, 06:49 PM
thanks,
after restarting, deleting the cache and yelling, it started working!
I corrected the extra comma but it seems that it wasn't the problem
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.