Results 1 to 3 of 3

Thread: HTML Link Question

  1. #1
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTML Link Question

    Was wondering what would be the best way to link to another page from a hompage (Page 1) and on this Page 1 have it change an IFRAME content from the link the user had clicked on back on the home page?

  2. #2
    Join Date
    Aug 2005
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    define the iframe as the following

    Code:
    <IFRAME src="your link.htm" frameBorder=0 width=100% height=100% name="content"></iframe>
    you can have the name anything you want, then to link or display content in that iframe when you make a link simply do this

    Code:
    <a href="target page.htm"  target="content">
    and if you do not want it in the iframe just make a regular link <a href="target page.htm"> or a new window with target="_blank"

  3. #3
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok let me ask this.

    Lets say Page 1 already had an iframe that had content in it which the iframe was displaying Page 2. So with that being said, is there a way that i can link from the homepage to Page 1 but have the iframe change from Page 2 to page 3 as soon as the user clicks the link or changes on the page based on the linked clicked on the homepage?

Bookmarks

Posting Permissions

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