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

Refresh one time only

Status
Not open for further replies.

Angie

Technical User
Nov 27, 2000
1
US
I have an annoying problem where the images on my site disappear when the user clicks on the link to get out of frames. What I really want is to have my main page refresh a single time right after the exit from frames. I have seen <meta http-equiv=&quot;REFRESH&quot; content=&quot;6;URL=filename&quot;> used, will do the same thing, but that just keeps on reloading. Any way to make it a single use? Possibly write the code into the link i use to get the user out of frames? Can you guys help me?

;-)

-Angie
 
window.location.reload() will refresh the current page, probably from the browsers cache.

window.location.reload(true) will reload the page from the original source.

The first is probably what you want in your case

Russ [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top