I can't for the life of me get this pop-up window to work in IE! well it works on my server, but when I post it on the clients... I get an 'invalid syntax error' (in the js debugger) here's what I got:
Code:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
</script>
and in the EMBED
swLiveConnect=true name="preloader.swf"
the flash side looks like:
Code:
_global.openWinCentre = function(url, winName, w, h, toolbar, newlocation, directories, newstatus, menubar, scrollbars, resizable) {
getURL("javascript:openNewWindow('"+url+"','"+winName+"','width="+w+",height="+h+",
toolbar="+toolbar+",location="+newlocation+",directories="+directories+",status="+newstatus+",
menubar="+menubar+",scrollbars="+scrollbars+",resizable="+resizable+",
top=((screen.height/2)-("+h/2+")),left=((screen.width/2)-("+w/2+"))') ");
};
anyone know the fix? or what I'm doing wrong???