Hi Howard,

Not sure if this will solve your problem, but opacity values range from 0 to 1, not 0 to 100. Try changing the value of your second opacity to .999 or 1.0 and see if that works for you.

Cheers,
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Feb 14, 2007, at 11:37 AM, howard chen wrote:

<div id="test" style="width: 200px; height: 200px; background- color: blue;">
        test
</div>


<a href="#" onclick='$("#test").animate( {opacity : 0} );'>hide</a>
<a href="#" onclick='$("#test").animate( {opacity : 100} );'>show</a>


only the first link show the correct animation....second link will
failed if you click the first link first.

it can show up, but not an animation anyway....

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to