Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames and TabStrips

Status
Not open for further replies.

mettodog

Vendor
Jul 11, 2000
94
0
0
US
Is there a way to make a frame that is composed of tabsrips in html that will work with both netscape and ie? whati mean is, when a page loads, it loads all of the documents that will be displayed when the appropriate tab is clicked, so that when the tab is clicked, the page is instantaniously displayed.
 
Well you could either:


- Have the documents written to div's which are hidden or shown depending on the tab.

- Dynamically write them to a div or table cell each time a tab is clicked.

- Contain them inside an iframe - and just change the document inside.


I would prefer the first option, over second because then you just use straight code, without having to format them for document.write().

Using an iframe would be effective too - because it just uses an ordinary HTML document - and you can change them simply by changinmg the iframe's src. The bonus of this is that all the documents do not need to be loaded at the start, which is the downside of using divs.

If you aren't fa,iliar with iframes -
b[sup]2[/sup] - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top