Results 1 to 2 of 2

Thread: script for frame target

  1. #1
    Join Date
    Sep 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default script for frame target

    OK... I can't seem to find what I'm looking for, and I'm not sure if this is the right place to ask, but...

    I want to have two frames on a html page. both frames show external pages i.e.:

    <frameset rows="50%, 50%">
    <frame src="internet banking site#1">
    <frame src="internet banking site#2">
    </frameset>

    The problem is that links on both sites are set to goto "target=_blank" OR they just overtake the current frame (take over the whole window)

    Is there a script out there that will force ALL links in a framed window to goto "target=_parent" regardless of what the links specify in the individual websites?

    FYI - for those that will ask about the legal questions of putting these sites on my web page, this is for personal use on my pc only.

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Depends on the sites. A lot of sites, including those with a financial status (banks, lending companies, paypal, etc.) are coded to jump out of frames, so as they can not be spoofed.

    Since you do not own the respective sites you can not change their links. I don't know of any over riding effects, but if there are you will find them on the "bad" side as those are going to run into legal issues, no matter who or how it is used.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •