How get web page to show text description when mousing over pics/t

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I believe they used to be called "mouseovers". I want to show a hovering
text box when people roll their mouse over some text and pictures in my
website in order to describe further the text or pictures.
 
Depending on what you are trying to display you can either use the title
attribute

<img src="images/image.jpg" width="110" height="90" title="short bit of
information" alt="what it does">

or you can use javascript to display a layer on mouseover or you can use
overlib which works the same way http://www.bosrup.com/web/overlib/
 
if the text boxes don't need to be formatted you can just surround the word
or picture with:
<span title="descriptive stuff goes here"> and </span>.
you could also look into using layers and behaviors or an outside script
like "overlib" or this:
http://www.walterzorn.com/tooltip/tooltip_e.htm
HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
Back
Top