jquery - Simultaneous :hover for parent and its child element -


is possible use jquery achieve simultaneous ":hover" both parent , child element @ same time ? specifically, both parent , child change background images when ever cursor moves on parent tag changing child elements background well.

the reason ask make nav-bar out fixed backgrounds functions more dynamically when changing content. please ask if of unclear. , have nice day.

why want use jquery achieve this?

div.parent:hover { background: red; }  div.parent:hover div.child { background: blue; } 

this won't work in ie6 since ie6 supports :hover on parent tag.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -