SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2007
    Location
    London, United Kingdom
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fullscreen javascript code : problems

    Hi

    I am having a problem opening a page in fullscreen - at the moment it opens another window which does open fulscreen but leaves the other page open in the background. I was wondering is there a way to make the page load in itself by making a slight modification the following code I am using:

    <SCRIPT LANGUAGE="JavaScript">

    <!-- Begin
    if (this.name!='fullscreen'){
    window.open(location.href,'fullscreen','fullscreen,scrollbars', "status = 0, resizable = 0, location = 0 toolbar= 0 directories = 0")
    }
    // End -->
    </script>


    Any help would be appreciated!

    Thanks

    Mark

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,609
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    http://www.sitepoint.com/forums/showthread.php?t=510651

    I suggest you read that thread - after all, IT IS YOURS!
    Ian Anderson
    www.siteguru.co.uk


Bookmarks

Posting Permissions

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