Search tutorials
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:
<%lt%><%gt%>HTML<%gt%>
<%lt%><%gt%>HEAD<%gt%>
<%lt%><%gt%>TITLE<%gt%>YOUR TITLE<%lt%><%gt%>/TITLE<%gt%>
<%lt%><%gt%>/HEAD<%gt%>
<%lt%><%gt%>BODY bgcolor="#000000" text="#808080"<%gt%>
<%lt%><%gt%>script language="JavaScript"<%gt%> <%lt%><%gt%>!--
window.open('index2.html','1','fullscreen=yes,scrollbars=yes');
//--<%gt%> <%lt%><%gt%>/script<%gt%>
<%lt%><%gt%>/BODY<%gt%>
<%lt%><%gt%>/HTML<%gt%>
To close this window, create a simple button, assign it an action Get URL and paste this code:
JavaScript:self.close();
It's that easy. For an example go to my website at www.dabombent.com. Good luck and happy flashing.
| » Level Intermediate |
|
Added: 2000-05-30 Rating: 5 Votes: 95 |
| » Author |
| No information about the author has been provided |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!