A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: browser full screen

  1. #1
    Member
    Join Date
    May 2001
    Posts
    41
    I think this is a 2 part question....
    I have made an intro that is 400x310 and i would like to have it open in a full screen, at the conclusion i want it to go to the next page but resume the browser's regular size.... I hope some one can help.....thanks

  2. #2
    Modding with Class JabezStone's Avatar
    Join Date
    Aug 2000
    Location
    Grand Rapids, MI
    Posts
    2,008
    Code to go fullscreen:

    <script language="JavaScript"><!--
    function full(url) {
    if (document.all) {
    window.open(url,'windowName','fullscreen=yes');
    return false;
    }
    return true;
    }
    file://--></script>

    <a href="default.htm" onClick="full(this.href)">Open full screen</a>


    Then, on the full-screen window, put one of the following:

    <img src="image.gif" onClick="parent.close();">

    -OR-

    <a href="JavaScript:close();">Close Window</a>

  3. #3
    Member
    Join Date
    May 2001
    Posts
    41
    very cool....thanks, i'll give it a try....

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center