![]() |
fadeIn, fadeOut issue
Hi,
I have a hover effect whereby an image is being faded out and another is fading in. However, Is there a way for these actions to happen simultaneously? So as one is fading out the other fades in. The second image is displayed none on page load. My code so far is: Code:
$('.square').mouseenter(function () { |
What you are looking for is usually called a cross fade.
I am not sure whether the JavaScript framework you are using one provides that functionality but it is definitely possible to do using JavaScript. |
Quote:
|
| All times are GMT +1. The time now is 10:15 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.