View Full Version : HTML Link Question
SPSPilot
04-07-2006, 02:58 PM
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?
skilled1
04-07-2006, 04:00 PM
define the iframe as the following
<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
<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"
SPSPilot
04-07-2006, 07:37 PM
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?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.