Search Tutorials
Ok, that's the splash page coded up and ready to go. Next we'll make the 'screenchooser' page...Take the 400 x 400 movie you made, and open it up in flash.In turn right click each of the 3 buttons, choose actions, and select 'getURL' for each from the actions list. In the space provided type: javascript:fullWindow()>>>> for the fullscreen button Save and publish. Then, open up the HTML page you have just created from this and drop it into your HTML editor Inbetween the <HEAD> and </HEAD> tags write/copy this: NOTE - javascript is caSeSenSItIve!! be carefull
<script language="javascript">
function fullWindow(){
fullWin=window.open('main2.html', 'fullWin', 'scrollbars=no, menubar=no, toolbar=no, status=no');
window.opener.location=('exit.html');
window.close();
}
Finally open your main site, go to file, choose 'Save As', and call it 'main2' (or whatever you its allready called, but - 2) and click ok. This will make a duplicate of your site. Publish. Drop 'main2' into your HTML editor and inbetween the and tags write/copy this:
<script language="javascript">
function fitscreen(){
window.moveTo(0,0)
window.resizeTo(screen.availWidth,screen.availHeight)
}
</script>
Ok, thats it.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|