Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    onload theatre mode

    I’m trying to automatically load a theatre mode page without having to click a button or link.

    What I have now is:

    <p><a href="javascript: go()">Enter</a> </p>
    <p>
    <script language="JavaScript" type="text/JavaScript">
    onload
    function go(){
    window.open("page1.htm","","fullscreen,scrollbars")
    }
    </script>


    Thanks in advance for any help,

    Jeff

  • #2
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    found it

    I wasn't putting the onload in the body!

    <body onload="go()"

    Sorry

  • #3
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    found it

    I wasn't putting the onload in the body!

    <body onload="go()"

    Sorry


  •  

    Posting Permissions

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