1) Display the message perpetually on screen
2) Display the message for a set period of time, then disappear
3) Display the message once per browser session
For demo click (here)
Step 4:upload only topmsg.js file to any free hosting sites.I use http://www.fileave.com/
step5:now all u have to do is call the script.Insert the below script into the head section of the page you want the message to be shown. Insert the code in open space (inside the but outside of any tables or other containment tags):
<script src="http://www.yourdomain.com/topmsg.js">step6.Where http://yourdomain.com/topmsg.js represents the url pointing to where your js file is saved.
//Always-on-top message Script- © Dynamic Drive (www.dynamicdrive.com)
//This credit MUST stay intact for use
If u like my post ,subscribe to our feeds and recieve latest update directly in mailbox.
Subscribe to Comments
Subscribe to Posts