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
    Jun 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Link to page w/ iframe and set src

    Hello,

    I'm working on a site for a friend and need the ability to have links to a page with iframe set the src for that iframe. I've found probably dozens of examples of this online and haven't been able to implement any of them. I never receive errors, the page with the iframe simply loads as it normally would, without my custom src set. Here are a couple I've tried:

    http://virtualmechanics.infopop.cc/e...5715#923105715,

    http://www.htmlforums.com/client-sid...ing-42020.html

    http://www.webmasterworld.com/javascript/3974862.htm

    I was wondering if anyone here has working code that has been used for this purpose in the past?

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Just did a lot of this with craigr7

    Look for recent threads started by him and you might find what you are looking for.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Old Pedant View Post
    Just did a lot of this with craigr7

    Look for recent threads started by him and you might find what you are looking for.
    Thanks; I will check them out.

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Here's the thread I was remembering:
    external link loads pages in two i-frames

    He has both a left and right iframe and sometimes wants to define the content for left, or right, or both.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

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