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
    Mar 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    dynamic src iframe?

    How can I make the src of my iframe dependent on data from previous/next buttons.

    I got the previous and next buttons searching a list on my server, but when you click previous or next, the entire main browser (along with the prev and next buttons) goes to the designated url. I want the result of the button to appear in the iframe, not the main browser.

    like a browser in a browser I guess.

    Any tips? Thanks in advance!

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Look into the target attribute.

  • #3
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Seconds before i checked this post I just did that, and now i feel stupid! I had the target "_top" and I didn't name my frame!

    something that simple, I was thinking I had to create some kind of form to submit the data to the frame . . .

    Thanks for the reply (and your tolerance) I am not even 5 months a coder!

    Here's the result:
    http://www.individualism.asia/Pages/Webring.html



    BTW: "grammar Nazi" LOL!


  •  

    Posting Permissions

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