CSS or something else?
- Started
- Last post
- 5 Responses
- pr2
I'm redesigning my website and want when rolled over an image some extra info about the project poping up right next to cursor (title, etc - just basic text). Anyone can enlighten me how to do it?
- uan0
something like this:
http://psacake.com/web/jl.asp
(google css tooltip)
- acescence0
or check out jQuery tooltip plugins if you want to get a bit more fancy
- pr2-1
uan, would i put that code in styles section? and where do the inside the box info go?
- uan0
yes, all that code is css.
the text is in a span-tag, inside an a-tag with class=info.
check the page-code out, and look for 'This is a tooltip' (I don't know how it will output here):
<a class=info href="#">This is a tooltip <span>an
aiding text that appears just when you roll on with the mouse</span></a>- and consider the jQuery tooltip plugin solution too, being more fancy is a good thing :)uan
- pr2-1
got it, thanks!