Here's what I'm trying right now which doesn't work.
//js
Cufon.replace('.overlay a h1', {hover: true});
//css
.overlay a h1 { color: #ffffff; }
.overlay:hover a h1 { color: #0fb4d7; }
//markup
<div class="overlay">
<a href="#"><h1>Title</h1></a>
</div>
I'm trying to change the color of text when I hover over a div.
Here's what I'm trying right now which doesn't work.
//js
Cufon.replace('.overlay a', {hover: true});
//css
.overlay a h1 { color: #ffffff; }
.overlay:hover a h1 { color: #0fb4d7; }
//markup
<div class="overlay">
<a href="#"><h1>Title</h1></a>
</div>
--
You received this message because you are subscribed to the Google Groups "cufón" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cufon+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cufon?hl=en.