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

Redirecting/refreshing in multiple frames

Status
Not open for further replies.

Gerb

Technical User
Jan 8, 2002
6
GB
Hi,

I send people to a 'Thankyou for your comment page' after they've submitted a form. On this thankyou page, I would like to automatically redirect people after 4 seconds to the homepage in the frame that the thankyou appears in, but also refresh another frame at the same time. Is this possible?

Thanks.
 
Try this:

In <head> put:<META HTTP-EQUIV=&quot;refresh&quot; CONTENT=&quot;5;URL=redirect.htm&quot;>

and add this to your body-tag: <BODY onUnload=&quot;javascript:top.frameName.location='file.htm'&quot;>

I do hope you understand that you'll have to change frameName into the name YOU gave the frame (in the frameset)that's loading 'file.htm'.

I don't think DW can do this last part, but you can find the refresh-option under: Insert >> Head tags >> Refresh

HTH

Quasibobo
*** Don't eat yellow snow! ***
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top