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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Open a link in a external iframe

    I have two pages A and B.
    I have a link in the page A.
    I have two iframes in the page B.

    In practice, the link in the page A must open the page B and the link's href must open in the second iframe of the page B.
    Is there any script that does this?

  • #2
    Senior Coder Logic Ali's Avatar
    Join Date
    Sep 2010
    Location
    London
    Posts
    1,028
    Thanks
    0
    Thanked 207 Times in 202 Posts
    Quote Originally Posted by AcePro1 View Post
    In practice, the link in the page A must open the page B and the link's href must open in the second iframe of the page B.
    Is there any script that does this?
    The most reliable way is to include the iframe's URL in a querystring parameter as part of your link's href, which page B can read. You can write a JS function to do this, but it is far better done by a server-side routine.

  • #3
    New to the CF scene
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    how do I do to make this?

  • #4
    Senior Coder Logic Ali's Avatar
    Join Date
    Sep 2010
    Location
    London
    Posts
    1,028
    Thanks
    0
    Thanked 207 Times in 202 Posts
    Quote Originally Posted by AcePro1 View Post
    how do I do to make this?
    If you have a server-side language available, then ask in the relevant forum.


  •  

    Posting Permissions

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