Results 1 to 2 of 2

Thread: address box

  1. #1
    Join Date
    Dec 2004
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post address box

    I was looking for a script that I could use so visitors could enter any website url and that site would be opened in a frame. I was able t find similar script but it keeps opening sites in new window.

    Anyone got any info on this?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It is the target of the script that is in question. How to change that depends upon how the script targets these url's. If it is by the target='framename' method, just change framename to the desired frame's name, if it uses the window.open() method, I believe the syntax is:
    Code:
    window.open('url','name','optional parameters')
    Try just changing name to the name of the frame desired and lose the optional parameters, if any, as they may distort the target frame. That may still not work because window.open() is meant to open a new window but, it is worth a try. Recognize either of those? If it uses some other method, I'd need to see the code.
    Last edited by jscheuer1; 04-14-2005 at 05:34 PM.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •