Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop up text/alt tags/title attrributes etc 2

Status
Not open for further replies.

TFfan

Programmer
Jan 18, 2002
192
CA
I want an onmouseover text box to appear to gloss certain appreviations. What's the best way to do this. Ideally, I'd like to use alt/title attributes, but these are timed and don't stay on screen long enough. Is there a way to extend this?

Is there a simple CSS solution? I've tried using <span> and <div> but these create a line break. I could put them in tables but this is a huge document I'm not sure I'm willing to code tables to make it happen.

I'd like to avaid JS if at all possible, but I'm am willing to consider it.

I guess I'm just looking for opinions. Thanks.
 
Hi,

You could use the &quot;title&quot; attribute of the <a> tag:

<a title=&quot;description of the term&quot;>Defined Term</a>

This is only compatible with modern browsers (I know it doesn't work in Netscape 4.x (just like alot of other bells and whistles!))
 
overlib looks pretty good - good link Wullie.

FYI it does use javascript - but its either javascript or title=&quot;&quot; attributes IMO.

Posting code? Wrap it with code tags: [ignore]
Code:
[/ignore][code]CodeHere
[ignore][/code][/ignore].
 
Note that there is a CSS only solution that hovers, but I had my share of problems incorporating it in the website so the IE would understand it. But it is working in IE as you can see on this page:


Hope it is of some help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top