Can’t post the link, but the website can be found by googling Alexander Isley Inc.; first result.
If you hover over the underlined text, you get a text box. It isn’t just an <a> tag though, it’s something else. Can this be achieve in HTML or is this Java? Something else?
You can use jQuery, Mootools or another javascript library to do the show/ hide combo.
Search the Javascript forum on here for show hide or google jQuery tooltips as an idea.
It’s a set of functions, for which anyone can write extensions to create added functionality. Most of the fancy jQuery stuff on web pages involves the basic library plus extra plugins.
In the head of Raena’s page there is the link to the basic jQuery file, and then an extra link with the tooltip functionality.
also, i don’t like the semantics of this --that inline text after the P is ugly and quite unsemantic
Yes, I would normally place a cite element inside the P myself. However, inline elements can be used as block elements, as done here.
Ah, I see. That’s simple. If you take the code from the link above, you could change this:
<p class="example2">Roll your mouse over the following <a href="#null">[COLOR="blue"]Rollover here please[/COLOR]<span> As you can see a nice little message box appears over the text and provides some more information.</span></a>.</p>
to this
<p class="example2">Roll your mouse over the following <a href="#null">[COLOR="Red"]<img src="image.gif">[/COLOR]<span> As you can see a nice little message box appears over the text and provides some more information.</span></a>.</p>
Or if you are using an image and want a tooltip for that, just give the image a title in the code, the way everyone else does
<p class=“example2”>Roll your mouse over the following <img src=“image.gif” title= “As you can see a nice little message box appears over the text and provides some more information.”>.</p>
No css, no javascript, no magic, nothing but plain old fashioned html. If the image is a link, you can put the title on the image OR on the link.
hey this has nothing to do with ur prob. Its a suggestion for ur page.(hope u dont mind) /…
. there are lot of hover tooltips in the page, that may irritate some users, specially old age or some one that has vision isuues. As those people generally use to scroll mouse on the text which they are reading. I that case these tool tips might irritate them.