![]() |
|
|||||||
| Register | FAQ | Members List | Downloads | Calendar | Today's Posts | Search | Webmaster Resources | Webmaster Blogs |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hello guys,
Here is something which would make your visitors feel special! Remember yourself closing a website window and immediately getting a message saying "thank you for using our site"? Well here's the simple trick to do it. Just replace the <body> section of your website with the following code Code:
<body onUnload="window.alert('YOUR MESSAE GOES HERE')">
|
|
|||||
|
Oh, I am very happy now, because this post suggests me that there is one more javascript addicted in the house
![]()
__________________
█Time may come when you will need a shopping cart █digitális mérleg keresőoptimalizálás |
|
|||||
|
Thanks to share this code . It is helpful for me to learn java. i join this forum just for learn tips and tricks of language.
Last edited by Bagi Zoltán; 05-29-2008 at 08:26 AM. |
|
||||
|
I'm with Bagi on this, in fact I spend countless hours removing JS from sites. Javascript is (IMHO) a Tool to be used only where absolutely necessary. Google Analytics for example.
|
![]() |
| Bookmarks |
| Webmaster Resources |
|
• UK WW SEO Tools • Find UK Hosts |
| The Forum Rules |
|
• Forum Rules - MUST READ |
| Site Of the Month |
![]() Nominate site of the month |
|
|
| UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons. |
| Subscribe to our feeds |