javascript code problem?


#1

Hello,
Anybody can help me about what is wrong with this code?

on (press) {
getURL ("javascript:yev=window.open('http://cagribariskasap.**********app.com/yev.swf','yev','width=1024,height=768,left=0,top=0 ,toolbar=No,location=No,scrollbars=No,status=No,re sizable=No,fullscreen=No'); yev.focus(); setTimeout('yev.moveTo(200,300)',1000); void(0);");
}

I have five more files using exactly the same script only with different file names. It works just fine with other files but does not work with this one. Any ideas?
Best,
Cagri Kasap


#2

Can you post the equivalent code you are using in the other files? Maybe there is something more subtle going on besides just the file name.


#3

on (press) {
getURL (“javascript:fspictures=window.open(‘http://cagribariskasap.000webhostapp.com/47pictures.swf’,‘fspictures’,'width=1024,height=768,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No’); fspictures.focus(); setTimeout(‘fspictures.moveTo(200,300)’,1000); void(0);”);
}
on (release) {
getURL (“javascript:zeytindali=window.open(‘http://cagribariskasap.000webhostapp.com/zeytindali.swf’,‘zeytindali’,'width=1024,height=768,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No’); zeytindali.focus(); setTimeout(‘zeytindali.moveTo(200,300)’,1000); void(0);”);
}
Above are the two working codes with other filnenames. But only the one in the previous message does not work. I still cannot see what the difference is. Please help!

Best,
Cagri Kasap