codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:

Javascript Displaying Text in the Status Bar



The status bar is the space immediately below the browser display and you can configure it to display text when you hover over a link by using a little javascipt. We'll use the onMouseOver and onMouseOut events, so that when the mouse hovers over the link the text appears, and when it moves away from the link, the status bar is set to blank:

<a href="http//www.codetoad.com" onMouseOver="window.status='Click here to visit one of the best scripting sites around'; 
 return true" onMouseOut="window.status=''; return true">Click here</a>


Keep all the above on one long line to ensure it works properly. Also, don't forget to add the return=true; to the script, otherwise it won't work.

The above code produces something like this :

Click here










Recent Forum Threads
• Re: Help Running VB script in Windows 2003
• ONUNLOAD
• Re: Insert Contents of .txt file into a .html page
• Re: Perl regular expression problem.
• Re: Problems in login using WWW::Mechanize
• searching for gd::graph guide
• Re: ARRAY OF HASHMAPS
• Adv. Regexp or Otherwise
• Adv. Regexp or Otherwise


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008