A demonstration page showing different implementations of changing the background colour of an element

Whatever:hover is implemented on this page for IE7 and lower
  1. No hover
  2. CSS :hover
  3. Class name
  4. JS Variable
  5. "Hardcoded"
  6. JS Function
  1. No changes
  2. Using CSS :hover pseudo class
  3. Using javascript to change the elements className
  4. Using a javascript variable to change the background
  5. Using hardcoded javascript to change the background
  6. Using a javascript function to change the background

copyright © modTalk
2007 - 2009

Generated in:- 0.203 seconds. This page has been viewed times
{Privacy} {Faqs} {T & C} {Contact} {Home} {About} {RSS}