![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| JavaScript JavaScript are you needing help with functions in your script, free help is offered here for all JavaScript problems so if you have an JavaScript error in your code just ask. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| MK PitStop Member | Show a message when enters to website and a message when he/she wants to exit or redirect the page Here is the code in this textbox <!-- this script got from www.javascriptfreecode.com-Coded by: Krishna Eydatoula --> <html> <head> <script language="javascript" type="text/javascript"> alert("Welcome to my weblog") </script> </head> <body> <h1> <!-- hide script from old browsers --> <!--this is on example of a long JavaScript comment--> <script language="javascript" type="text/javascript"> document.write("IranJavaScript") //end hiding script from old browsers --> </script> </h1> </body> </html> <!-- DESCRIPTION: This will cause an elert message before your visitor leaves (OR reloads) your page. INSTRUCTIONS: Place this tag where your BODY tag is. Make changes to attributes (TEXT, LINK, VLINK, BGCOLOR, etc.) as necessary. FUNCTIONALITY: Works in both Netscape and IE. //Modified by CoffeeCup Software //This code is Copyright (c) 1997 CoffeeCup Software //all rights reserved. License is granted to a single user to //reuse this code on a personal or business Web Site. --> <BODY onUnload="window.alert(' Good Bye ')"> </BODY> <!-- DESCRIPTION: This will cause an elert message before your visitor leaves (OR reloads) your page. INSTRUCTIONS: Place this tag where your BODY tag is. Make changes to attributes (TEXT, LINK, VLINK, BGCOLOR, etc.) as necessary. FUNCTIONALITY: Works in both Netscape and IE. //Modified by CoffeeCup Software //This code is Copyright (c) 1997 CoffeeCup Software //all rights reserved. License is granted to a single user to //reuse this code on a personal or business Web Site. --> <BODY onUnload="window.alert(' Good Bye ')"> </BODY> <font face="Tahoma"><a target="_blank" href="http://www.javascriptfreecode.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>
__________________ INTERNATIONAL OFFERS - EARN 1$ Last edited by ssdtsaks : 07-14-2008 at 10:20 AM. Reason: wrong | ||
| | |
| Featured Websites | ||||
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Close the browser with a button | ssdtsaks | JavaScript | 0 | 07-14-2008 10:18 AM |
| Connection close at exit | Uwe Mueller | Operating Systems And Software | 3 | 02-05-2008 11:07 AM |
| PHOTO BOOK CLOSE-OUT | Vince Pilutis | Ebay Technical Questions | 0 | 05-31-2007 12:16 AM |
| PHOTO BOOKS CLOSE OUT | Vince Pilutis | Ebay Technical Questions | 0 | 05-31-2007 12:16 AM |
| Featured Websites | ||||
|