Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1
    Senior Member zeroskater88's Avatar
    Join Date
    Feb 2003
    Location
    RI
    Posts
    391
    Member #
    682
    Linking out of an Iframe..

    How would I link to another site inside an iframe, and have the site pop up in a new full sized window when the user clicks the link.

    Thanks.

  2.  

  3. #2
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    [minicode]<a href="http://www.webdesignforums.net" target="new">Web Design Forums</a>[/minicode]
    JR

  4. #3
    Senior Member zeroskater88's Avatar
    Join Date
    Feb 2003
    Location
    RI
    Posts
    391
    Member #
    682
    Ah, that worked awesome .

    thanks.

  5. #4
    Senior Member zeroskater88's Avatar
    Join Date
    Feb 2003
    Location
    RI
    Posts
    391
    Member #
    682
    OK, now how would I link it so when the user clicks it would open up in the same screen, but out of the iframe? Heh, thanks.

  6. #5
    Senior Member zeroskater88's Avatar
    Join Date
    Feb 2003
    Location
    RI
    Posts
    391
    Member #
    682
    Would it be target="same" ?

  7. #6
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    Made an incorrect post earlier, it's
    Code:
    target="_top"

  8. #7
    Senior Member zeroskater88's Avatar
    Join Date
    Feb 2003
    Location
    RI
    Posts
    391
    Member #
    682
    Thanks scott.

  9. #8
    Junior Member
    Join Date
    Jun 2003
    Posts
    3
    Member #
    1952
    How would I link an image source outside of the iframe to open within the iframe? For example, my main page would be index and the iframe name would be "blue" and I had a link button to open up page "pink" within iframe blue, but the link button(gif image) "pink" is on my index page.

    keely

  10. #9
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    Target the link to open in the iframe's name. Your iframe code should look like this:
    Code:
    <iframe src="iframepage.html" name="blue"...>
    and the link in your main page should look like this:
    Code:
    <a href="pink.html" target="blue">
    I think this answers the question you're asking, but if it doesn't then let me know.

  11. #10
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    no i think this is what he is asking for...
    Code:
    <iframe src="index.html" name="blue">
    and then this..
    Code:
    <a href="pink.html" target="blue"><img src="pink.gif" border="0"></a>
    JR


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com