SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2001
    Location
    Hertfordshire, UK
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript Script Needed!

    Hi,

    I need a script that will launch a new browser (with only the status bar showing so the SSL padlock can be seen) window when someone goes to page within a frame set (frame name is 'main') I then need the page inside the frame to automatically redirect to another page when the new window is closed. Is this possible?

    Thanks for any help,

    Rob
    2ninety Hosting - http://2ninety.com
    Low Low Prices
    Friendly Support
    Perfect!!!

  2. #2
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You open a new window like so:

    Code:
    window.open ("yourURL.html","giveAName","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=200,height=100")
    And in the <body> tag of the document in the new window, you put something like

    Code:
    onUnLoad="self.opener.location.href='pagetogoto.html'"
    I'm not entirely sure of the syntax, so check back here if it doesn't work.

  3. #3
    SitePoint Member
    Join Date
    Feb 2001
    Location
    Hertfordshire, UK
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Thanks, I'll give it a go!



    Rob
    2ninety Hosting - http://2ninety.com
    Low Low Prices
    Friendly Support
    Perfect!!!


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
  •