home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Simple JS Question

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1814
Discussions: 200,505, Posts: 2,374,375, Members: 245,828
Old March 9th, 2003, 01:27 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Dec 2002
Location: Melbourne, Australia
Posts: 181
Send a message via ICQ to 5atanic
Simple JS Question

This is a relatively simple question, I want to have a link that automatically exits the browser window via Javascript.

How would I do this?
I knew how to do it before, but I forgot it lol
5atanic is offline   Reply With Quote
Old March 9th, 2003, 02:17 AM     #2 (permalink)
Ultimate Member
 
PyroSama's Avatar
 
Join Date: Nov 2002
Location: Boise, Idaho
Posts: 2,782
Send a message via ICQ to PyroSama Send a message via MSN to PyroSama
internet.javascript.com

or

javascript.internet.com


PyroSama
__________________
JOIN [FaD] | TEAM NUMBER 2037 | http://www.techimo.com/forum/t121132.html
PyroSama is offline   Reply With Quote
Old March 9th, 2003, 02:31 AM     #3 (permalink)
Ultimate Member
 
davidamarkley's Avatar
 
Join Date: May 2002
Location: Joplin, MO
Posts: 2,353
Send a message via ICQ to davidamarkley Send a message via AIM to davidamarkley
PHP Code:
<FORM><input type="button" Value="Close Window" onClick="window.close()"></FORM
Basically it just gives you a button that says "Close Window" and the rest I'll leave to you...

BTW, if you have this code on a page with another form, you may have to have a 'name=' value in there also...

David

Last edited by davidamarkley : March 9th, 2003 at 02:35 AM.
davidamarkley is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (1632)
FT HOOD attack: 7 killed 12 injured (64)
HELP!!! What do you think of this s.. (14)
Looking for a graphic card that wil.. (30)
My 1st pc build (40)
Aero in Vista (7)
core i7 extreme 975, nvidia 9400gt (9)
PC Modern Warfare 2: it's much wors.. (12)
Building my first computer (13)
How to Ship a PC (16)
slaving laptop drive (7)
[F@H SPAM 11/1/09]New month . . . n.. (33)
Windows 7 Keeps Restarting Itself (7)
Need Assistance Overclocking and Ra.. (14)
Recent Discussions
FAT32 to NTFS file system in Win2kpro (2)
2009 Build (4)
Internet very slow since updating AVG.. (7)
Review My Build (2)
My 1st pc build (40)
Freezing During Music/Movies (1)
Windows Experience Index is screwed u.. (2)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
HELP!!! What do you think of this sys.. (14)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)
New Linksys Routers (2)
sometime power/Amber light (0)
Motherboards and my curse... (24)
Mic won't work. (2)
Weird Vista Internet Issue (2)


All times are GMT -4. The time now is 12:04 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28