Fade Out of image in jquery

9 views
Skip to first unread message

Vishnu vg

unread,
Jun 15, 2011, 12:22:27 PM6/15/11
to phpQuery
Hi all

i want a fade effect in changing a background image in a div using
jquery. How can i achieve it. My div is given below

.cclass{background : url('images/one.jpg'); }.

When i hover over the div i want a smooth transition from one.jpg to a
background colour red. I want it a slow fade effect. How can i acheive
it.

Just

unread,
Jun 16, 2011, 5:52:25 AM6/16/11
to phpQuery
That's a jQuery prob.
Not a phpQuery one. Let's see on jQuery IRC or Forum to ask that.
Reply all
Reply to author
Forward
0 new messages