y-less.com | Alex “Y_Less” Cole’s blog

TAG | css

Jun/09

3

CSS showing off

Recently I saw a question on a board I visit asking about how to make tooltips in Javascript, now I am a big JS fan, having spent a lot of time writing yavascript to aid in it’s development, but it’s a last resort – if you can’t do something any other way, use Javascript. Although doing things such as tooltips without Javascript is admittedly hard and people may not even realise it’s possible – it is, so I did:

Example 1 – CSS tooltips:

http://yavascript.org/css/tooltip.html

Note: CAN be dodgy in IE6 if you don’t make the offset big enough to appear under the link.

Example 2 – CSS lightbox:

http://yavascript.org/css/lightbox.html

Note: Currently only works in Firefox 3.

· · ·

Theme Design by devolux.nh2.me