Current location: Hot Scripts Forums » General Web Coding » JavaScript » Close Window Script for a TAb


Close Window Script for a TAb

Reply
  #1 (permalink)  
Old 10-22-05, 04:41 PM
tigerdel tigerdel is offline
New Member
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post Close Window Script for a TAb

I am looking for a script I can use in a navigation tab that when the tab is clicked the current window closes.

I know it should look something like this but I can't get anything to work.
{Home,Close window script,??}

Any ideas??

Thanks

Derek
Reply With Quote
  #2 (permalink)  
Old 10-23-05, 09:46 AM
DaveLauderdale DaveLauderdale is offline
New Member
 
Join Date: May 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
did you try something like:

onClick="window.close()";

or

onClick="self.close()";
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Raffle/Lottery Script (Very profitable!), Coded it myself. Voltaire General Advertisements 6 03-16-09 07:15 AM
Close window script? timmy long HTML/XHTML/XML 18 07-04-08 09:17 AM
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 10:17 AM
How to disable close button in a window cheenu1979 JavaScript 2 03-22-05 01:23 PM
Window close option Help Imad JavaScript 1 02-22-05 05:11 PM


All times are GMT -5. The time now is 10:58 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.