The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Please Help with a jquery problem

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #23971

    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.

    Kindly help.Thnks in advance

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.