Text revealing with JavaScript - TechRepublic
Question
June 2, 2010 at 03:16 AM
windranger

Text revealing with JavaScript

by windranger . Updated 16 years, 1 month ago

Hi,

I’m looking for a javascript/css code that can do the following, for a click button:

– When mouse is not over the click-button, a text should be displayed at the right of the button, in a bordered textbox – 85% transparency (hardly visible)

(- when mouse hovers over the button, the button image changes to a different one <- I know how to do this) - When the button is clicked the text shows up normaly (0% transparency) - When clicking again the button OR anywhere else on the page, the text goes back to 85% transparency. If have any ideas where I could find such a code please let me know. Thanks.

This discussion is locked

All Comments