FREE CODE Sunday, 12.16.2018, 1:51 PM
Main | Registration | Login Welcome Guest | RSS
[ New messages · Members · Forum rules · Search · RSS ]
۞Forum Statistics۞
NEW TOPPIV
HOT TOPPIC
TOP MEMBERS
NEW MEMBERS
  • check code here Have(0) reviews faxuhi
  • Keywords meta Tags Have(0) reviews faxuhi
  • text box Have(0) reviews faxuhi
  • Page description Have(0) reviews faxuhi
  • marquee Have(0) reviews faxuhi
  • print your page Have(0) reviews faxuhi
  • choose your country Have(0) reviews faxuhi
  • check all - unchek all Have(0) reviews faxuhi
  • shadow text Have(0) reviews faxuhi
  • Beautiful text two Have(0) reviews faxuhi
  • Nice menu with java script <p1> Have(2) reviews faxuhi
  • Mouse Clock Have(1) reviews faxuhi
  • HTML table placeholder Have(0) reviews faxuhi
  • Html graphic bullets Have(0) reviews faxuhi
  • Different times of the world by the users choice from a list Have(0) reviews faxuhi
  • Mouseover Alert HTML Script Have(0) reviews faxuhi
  • Redirect to another page and link automatically to other pg Have(0) reviews faxuhi
  • Combo box link box to browse your website easily Have(0) reviews faxuhi
  • Message to user by clicking a button Have(0) reviews faxuhi
  • Background changing color effect Have(0) reviews faxuhi
  • faxuhi[189]Bài
  • mcsnagger0022[0]Bài
  • thinknoodles[0]Bài
  • karaganis888[0]Bài
  • faxuhi [189]Bài
  • mcsnagger0022 [0]Bài
  • thinknoodles [0]Bài
  • karaganis888 [0]Bài
    • Page 1 of 1
    • 1
    Forum » Web Javascript » Text alert for enter and exit » Text alert for enter and exit
    Text alert for enter and exit
    faxuhiDate: Sunday, 07.24.2011, 11:07 AM | Message # 1
    Colonel
    Group: Administrators
    Messages: 189
    Reputation: 0
    Status: Offline
    Code
    <!-- this script got from www.javascriptfreecode.com-Coded by: Krishna Eydat -->
    <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>
     
    Forum » Web Javascript » Text alert for enter and exit » Text alert for enter and exit
    • Page 1 of 1
    • 1
    Search:

    Copyright MyCorp © 2018 Website builderuCoz