Reply
Page delay forward body tags only - how?
Old 06-09-2007, 05:08 AM Page delay forward body tags only - how?
Skilled Talker

Posts: 52
Name: Timothy Nerbonne
Hi, I'm using a cgi script to capture form submissions and email them out. After successful submission, you get a "Thank your for submitting" page. This code is located at the bottom of the cgi script. I want to automatically forward users back to my homepage after that page is briefly displayed.

Remember, meta tags are out because I only have access to the <body> tag, and anything you could normally include in the body.

Thanks for any input.
nerbonne is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-09-2007, 05:56 AM Re: Page delay forward body tags only - how?
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
Time javascript redirect Last item on page.

The function doesn't have to be defined in the head and the call doesn't have to be in the <body> onLoad event it can be just called on the page somewhere in script tags.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-09-2007, 06:04 AM Re: Page delay forward body tags only - how?
Skilled Talker

Posts: 52
Name: Timothy Nerbonne
Wow, that worked great. Thanks.
nerbonne is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Page delay forward body tags only - how?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12892 seconds with 12 queries