This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > March 2004 > Netscape and pop ups





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Netscape and pop ups
mr.murdoch

2004-02-28, 2:28 pm

Hello All,

are there any known issues with Netscape and SWF pop ups? point in case, i
have javascript in a button to open an image in a new window. this works fine
in Safari and IE but in NS just gives a new window with text garbage starting
FWS. the main flash movie works fine. i'm using NS7.01 on a mac and it's the
same story on PC. additionally, the frame is set to centre in the window but
sits firmly to the top of it, again Safari and IE are fine.

what gives?

i'm using flash 4

nardove

2004-03-04, 9:28 am

this works for me in safari, ie and netscape for pc and mac, i dont test it in
other browsers

paste this code in the html were the .swf will be

<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
</script>

and this code is for the button in the .swf, and change "the_page.html" for
the file you want to pop-up and the W, H

on (release) {

getURL("javascript:openNewWindow('/the_page.html','thewin','height=600,width=650
,toolbar=no,scrollbars=no,left=0,top=0,status=no,loaction=no,resizable=no,fullsc
reen=no')");
}

if any issue let me know

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews