Results 1 to 4 of 4

Thread: How to load a new page when current page has loaded

  1. #1
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default How to load a new page when current page has loaded

    hey.. i need some codes
    1. Page exits automatically after loading.

    2. Page exits automatically and a new page opens
    Last edited by Snookerman; 04-21-2009 at 09:29 AM. Reason: fixed title and added "Resolved" prefix

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Try:
    Code:
    <script type="text/javascript">
    window.onload = function(){
      this.open("http://google.com");
      this.close();
    }
    </script>
    Change highlighted to the page you want.
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    ff123 (04-19-2009)

  4. #3
    Join Date
    Apr 2008
    Posts
    104
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Nile View Post
    Try:
    Code:
    <script type="text/javascript">
    window.onload = function(){
      this.open("http://google.com");
      this.close();
    }
    </script>
    Change highlighted to the page you want.
    Thanx mate.. you rock!

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Glad to help you! Your welcome!

    It seems your topic is solved... Please set the status to resolved.. To do this:
    Go to your first post ->
    Edit your first post ->
    Click "Go Advanced" ->
    Then in the drop down next to the title, select "RESOLVED"
    Jeremy | jfein.net

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
  •