Forums

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

Home Forums CSS different background images from mouseovers

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45904
    ognik
    Member

    Hi everyone, I’d like to do this in CSS if its possible, I’ve fiddled and gotten nothing but brain dead. Think of a vertical list of 5 links with an overall default background image. What I want is for that overall background image to change to the n’th one of 5 other background images, when mousing over the n’th link….
    I tried this for example:

    .

    But nothing happens.

    Suggestions welcome!

    xxx
    #141230
    ognik
    Member

    Oops – my html is not visible – newby here.
    the TD is … onmouseover=”document.getElementById(‘myTable’).style.backgroundImage =’url(images/notesoftheweek.jpg)'”> .. with the a href stuff following

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.