View Full Version : help with browser sizing
avelives
04-25-2002, 02:20 PM
Is there a simple cript for getting a browser window to open up maximised?
help please...
To create this effect, all you have to do is create two separate pages. For this exapmple we will use the two HTML pages, index.html (the page that will have the javascript) and index2.html (the page that will have the SWF file. When index.html is visitied, it will automatically pop up index2.html as a full window. Here is the code:
<>HTML>
<>HEAD>
<>TITLE>YOUR TITLE<>/TITLE>
<>/HEAD>
<>BODY bgcolor="#000000" text="#808080">
<>script language="JavaScript"> <>!--
window.open('index2.html','1','fullscreen=yes,scro llbars=yes');
//--> <>/script>
<>/BODY>
<>/HTML>
To close this window, create a simple button, assign it an action Get URL and paste this code:
JavaScript:self.close();
Chris
jeppo78
05-02-2002, 03:50 PM
to minimize what action i must do to the button??????
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.