This is a discussion on "Add / Delete CSS classes on hover" within the JavaScript Forum section. This forum, and the thread "Add / Delete CSS classes on hover are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Add / Delete CSS classes on hover
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
Add / Delete CSS classes on hover
For example, when I hover over an anchor with ID 'block', how could I add a class 'on' to a div with ID 'pix', then remove it when 'un-hovered'?
Many thanks Alex
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
|
|
|||
|
Re: Add / Delete CSS classes on hover
Something like this:
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Classes | tox0tes | Flash & Multimedia Forum | 1 | Nov 9th, 2007 14:12 |
| Classes in PHP | pas2gether | PHP Forum | 11 | Oct 13th, 2007 17:24 |
| how to echo 2 classes | geyids | PHP Forum | 3 | Aug 9th, 2007 13:47 |
| Classes | pa007 | PHP Forum | 6 | Jul 12th, 2007 15:22 |
| Classes | Gee Bee | JavaScript Forum | 1 | Mar 8th, 2006 08:31 |