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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hidden/Visible - Load Once.. Not Again...

Status
Not open for further replies.

sgkdnay

Technical User
Aug 4, 2008
21
I can't think on top of my head nor any site gives good example. I have a web going where I create tabs on top of the screen. Within those tab will open "your fave browser" in an iframe. (personal project)

Question here is: when I click those tab, it would load, click another tab, it will hide the first tab and load the new web, however when I go back to first tab, it would RELOAD the web instead of staying as it is. How could I prevent reload in the iframe if it was ALREADY loaded?

Thanks
 
Change line "x" of your tab switching code to show/hide the content rather than reload it.

Line "x" will be the one we don't know about because you haven't given us any relevant detail.

Dan


Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top