hi
I try to use this:
javascript:window.open('about.htm','scrollbars=no' ,'resizable=no','width=400,height=450','status=no' ,location=no','toolbar=no')
i put this in get url, but doesnt work.
Thx,
bye lambdi
Printable View
hi
I try to use this:
javascript:window.open('about.htm','scrollbars=no' ,'resizable=no','width=400,height=450','status=no' ,location=no','toolbar=no')
i put this in get url, but doesnt work.
Thx,
bye lambdi
If you want to open a new window using JavaScript try this.
Paste this script in the <head> section of your HTML:<SCRIPT LANGUAGE="JavaScript"> var javascript_version = 1.0;</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1"> javascript_version = 1.1;</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var newwin;
function launchwin(winurl,winname,winfeatures)
{
newwin = window.open(winurl,winname,winfeatures);
if(javascript_version > 1.0)
{
setTimeout('newwin.focus();',250);
}
}
</SCRIPT>
//(this script from Mook)
and then in FLASH, in the GET URL box enter
JavaScript:launchwin('thepage.html','page','width= 400,height=400')
the "JavaScript" calls the JavaScript in the html
launchwin is the function created ny the JavaScript
'thepage.html' can also be an address like 'http://thesite.com/thepage.html'
'page' can be any name you wish to call this window(it is only used by the script and nothing else) but it can only be one word or contain no spaces.
thw windows features are all grouped together
'height=400,width=400' etc. the value specifies pixels
by default
scrollbars=no
resizeable=no
toolbar=no
other variables can be added
top=100 - placement of window from the top of screen
left=100 - placement of window from the left
ex JavaScript:launchwin('page.html','page','width=400 ,height=400,top=100,left=100,scrollbars=yes,toolba r=yes,resizeable=yes')
A lot of thx!
Now i try!
See u.
lambdi