-
hello...
does anyone know how to make the javascript openwindow work on a mac? my code works on a pc but not a mac?
its something like this:
getURL ("javascript:openwin('blah','blah'..);
thanks...
OR....can anyone give me some code to look at...i want to open a javascript window from my flash movie...also, how can i pass variables to this win?
thnx
-
Try this site, it's got some good info on JScript
http://rummelplatz.uni-mannheim.de/~...art4/part4.htm
see what that does for ya :D
-
I use a Mac and this works a treat for me;
[script language="JAVASCRIPT" type="TEXT/JAVASCRIPT"][!--
if(screen){
topPos=0
leftPos=0
}
function getPage(thePage,wt,ht){
leftPos= (screen.width-wt)/2
topPos = (screen.height-ht)/2
newWin1 = window.open(thePage,'aWin','toolbars=no,resizeable =no,scrollbars=no,left='+leftPos+',top='+topPos+', width='+wt+',height='+ht)
}
// --]
[/script]
and yes, you can pass the arguments...
~mgb
I've had to strip the html tags or it won't post...
[Edited by mgb on 04-19-2001 at 03:11 PM]
-
Hi spparikh,
you´re probably trying to open a window in InternetExplorer4.5 on MAC. This will never work because of a bug.
http://www.moock.org/webdesign/flash/macie/index.html