zef
08-23-2010, 11:04 AM
Hi guys.
How would I implement this css:
.story-wrap:hover .dates
This obviously allows the .dates div to react when I hover over the .story-wrap div.
How would I select the same in javascript with this code:
$(".story-wrap .dates").hover(function () {
Because currently it just reacts when .dates is hovered over.
Cheers!
How would I implement this css:
.story-wrap:hover .dates
This obviously allows the .dates div to react when I hover over the .story-wrap div.
How would I select the same in javascript with this code:
$(".story-wrap .dates").hover(function () {
Because currently it just reacts when .dates is hovered over.
Cheers!