I had a site up for quite a while and then one day it stopped
working - had designed it a specific size - so had an
intro page. On that page is
the function
function NewWindow(url, windowName, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resi zable';
win = window.open(url, windowName, winprops);
if (parseInt(navigator.appVersion) %26gt;= 4) {
win.window.focus();
}
}
In the SWF file the button that says enter has the following
code:
on (release){
getURL(''javascript:NewWindow(''eyeconography.html'',''eyeconography'',''800'',''550'',''n o'')'');
}
Everything worked for years - and then one day did not in any
browser (I think). This was not the only button effected.
Thanks in advance for any help. flash button %26amp; javascript help
you got a mistake with your quotation marks '' ''
try this:
flash button %26amp; javascript help
Sorry - that was a typo on this post - The way you typed it
in is the way it is - and as I said, It worked, and then did
not.
Not sure which one ''did not''
I've check
http://www.eyeconography.net/
the popup window works
Thanks for checking it out - I have a PC at work and the
pop-up menu works on that computer, But It stopped on Macs - so now
I think it is some security issue. I dont' know anything about the
param name allowScripts, but maybe it has to do with that. I was
wondering if anyone knows something that could have changed that
would have suddenly changed the functionality of that button on
Macs.
I'm running a Mac using 10.4.9/Firefox 2.0.0.3 and the popup
works fine. I also tried the site in Safari 2.0.4, again the popup
worked fine. As far as I can see, the site is working
normally.
No comments:
Post a Comment