Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-13-2002, 02:01 PM   PM User | #1
me-so-sleepy
New Coder

 
Join Date: Dec 2002
Location: UK
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
me-so-sleepy is an unknown quantity at this point
Question timed redirecting for closure of window.. can anyone help?

yea i want to know if there is a code an if so what it is.. for a timed redirect link thing that instead of takes you to a new page it closes the window (for use in a custom sized pop up window)

thnx

Matt
__________________
.wishes.
me-so-sleepy is offline   Reply With Quote
Old 12-13-2002, 04:44 PM   PM User | #2
Nightfire
Senior Coder

 
Nightfire's Avatar
 
Join Date: Jun 2002
Posts: 4,266
Thanks: 6
Thanked 48 Times in 48 Posts
Nightfire is on a distinguished road
I think I understand you

<script>
function closeWindow(){
window.close();
}
setTimeout("closeWindow()",4000)
</script>


That'll close the window in 4 seconds, change the numbers in red to change the time you want to close the window
__________________
Blue Panda
Website Design | 1 Pound Ads | 'ow much? | Coding Geeks
Nightfire is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:08 AM.


Advertisement
Log in to turn off these ads.