Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Have you ever used jQuery's native fadeIn() method? It works like this:
HTML Code:
<script>
$("#myimage").fadeIn("fast");
</script>
You may want to check out the cycle plugin for jQuery. Although it may be a bit heavy for your purposes, it is a cool plugin and has a lot of neat transition effects.
When I want single custom transitions, I usually plug them in to jQuery's animate() method, using an object literal if several effects are needed at once. The nice thing about animate() is that any CSS property that relies on a quantity may be transitioned at the defined pace of the function.
Last edited by wayfarer07; 08-09-2008 at 04:59 PM..
|