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
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Opening a link in an iframe from an external page.

    I want to have a link on one page to open another page, and direct the iframe on that new page to use a source other than its default.

    Is that possible?

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,274
    Thanks
    28
    Thanked 271 Times in 265 Posts
    I don't think it is possible. If you had control of the page containing the iframe you might be able to change the target based on referrer information but I'm guessing that you don't.

    This is one of the main reasons people don't like frames for web design: you can't target (and thus bookmark) specific pages without sacrificing the frame.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    New to the CF scene
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    "If you had control of the page containing the iframe you might be able to change the target based on referrer information but I'm guessing that you don't."

    Thanks. I do have control of all the pages involved in the problem. But I don't know how I would maked the target based on the referrer.

    I'm only using the page with the frame to hold 2 or 3 pages, it's mostly just a front to my forum. What the frame currently points to is a news/announcements page. I'm going to set up a link-exchange page to access through that frame as well, and I'd like to be able to link to that in the forum navigation.
    Last edited by letgo216; 05-05-2006 at 02:18 AM.


  •  

    Posting Permissions

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