hey all,
i'm not a newbie at all to webdesign, but i've never seen this before and am at a loss. hopefully someone has a tip for me. =) basically, i'm having an issue with calling a pop-up window from flash. it works perfect on the mac (IE) but when viewed on the PC (IE) the window has an additional 150 pixels or so added to it's vertical height.
this is the code i have on my button:
on (release) {
getURL("java script:openPop('juke.html','juke',220,29)") ;
}
and this is the javascript code that i put in the flash html page:
function openPop(url,name,popW,popH) {
version = navigator.appVersion;
var w = 800, h = 600;
if (document.all || document.layers) {
w = screen.availWidth;
h = screen.availHeight;
}
var leftPos = (w-popW)/2, topPos = (h-popH)/2;
window.open(url,name,'width=' + popW + ',height=' + popH + ',scrollbars=no,toolbar=no,status=no,resizable=no,
top=' + topPos + ',left=' + leftPos);void(0);
}
this is the URL to see what happens:
www.goodnfilthy.com/indexDEV.html CLICK ON THE "Rock over London, Rock on Chicago" PANEL.
Any thoughts would be really appreciated!
thanks so much!
joanne
i'm not a newbie at all to webdesign, but i've never seen this before and am at a loss. hopefully someone has a tip for me. =) basically, i'm having an issue with calling a pop-up window from flash. it works perfect on the mac (IE) but when viewed on the PC (IE) the window has an additional 150 pixels or so added to it's vertical height.
this is the code i have on my button:
on (release) {
getURL("java script:openPop('juke.html','juke',220,29)") ;
}
and this is the javascript code that i put in the flash html page:
function openPop(url,name,popW,popH) {
version = navigator.appVersion;
var w = 800, h = 600;
if (document.all || document.layers) {
w = screen.availWidth;
h = screen.availHeight;
}
var leftPos = (w-popW)/2, topPos = (h-popH)/2;
window.open(url,name,'width=' + popW + ',height=' + popH + ',scrollbars=no,toolbar=no,status=no,resizable=no,
top=' + topPos + ',left=' + leftPos);void(0);
}
this is the URL to see what happens:
www.goodnfilthy.com/indexDEV.html CLICK ON THE "Rock over London, Rock on Chicago" PANEL.
Any thoughts would be really appreciated!
thanks so much!
joanne













