HTML Inline help

Started by
0 comments, last by Xiachunyi 20 years, 6 months ago
Hello, I am currently in the middle of making my website and I was wondering about utilzing inline frames for easier navigation. I have the website set up where I have the navigation bar on the left side and the inline frame is on the right. I can set the initial page of my inline frame but I don''t seem to know how to dynamically change the inline frame based on what I click on my navigation bar. Here is what I have so far:


<iframe name="I1" width="516" height="642" src="news.htm">
Your browser does not support inline frames or is currently configured not to display inline frames.
The frame, when loaded, displays initially displays the "news" file but I want to be able to change the news to say "downloads" when I click on my navigation bar that is located on a seperate HTML file than my inline frame. Can inline frames do this, or do I have to go to something else? Thanks a lot.
Advertisement
Just set the target in your link.

In your case it would be something like:

< a href="downloads.html" target="I1" >

target = name of the frame

This topic is closed to new replies.

Advertisement