SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Jun 8, 2005, 07:19 #1
- Join Date
- Jun 2005
- Posts
- 8
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
iframe link to open another iframe
My page contains an iframe (iframe1); within the text in that iframe I have other links, and I want the content behind those links to appear in the 2nd iframe (iframe2) below the links. Help!
-
Jun 8, 2005, 08:29 #2
Hello
add:
Code:target="frame_name"
So for example this should work for you:
Code:<a href="" title="" target="iframe2">Some Link</a>
-
Jun 8, 2005, 08:33 #3
- Join Date
- Jun 2005
- Posts
- 8
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I should have indicated in my first post -- I do have the targets set for each iframe location.
first iframe
<iframe src="description.html" name="Description" height="100%" width="100%"></iframe>
second iframe
<iframe src="description2.html" name="Description2" height="100%" width="100%"></iframe>
-
Jun 8, 2005, 08:35 #4
Since your iframes name is Description1 and Description2 simply change it to:
Code:target="Description2"
-
Jun 8, 2005, 09:10 #5
- Join Date
- Jun 2005
- Posts
- 8
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks for the info -- I figured out the problem - the lightbulb went off! I needed to target the first iframe in the second instance. Confusing, yes, but it's working!!
Bookmarks