I am pretty much new to jquery. Kindly help me to Create a 4 state button of the following features:
Style a simple link so that is behaves as depicted below
• When the user hovers over the link the text and background color should change
• When the link is clicked the text should change as well as the background image.
• After the user clicks the link and then moves the mouse off the link the hover behavior should change – the hover would then cause a different background image and the text to change.
• Click the link a second time should cycle it back to the original behavior
I was asked to use an image of a star which will change the above states when hovered etc.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".