Easing error when fading in a callback
I'm getting this error when trying to do animations in the fade/hide
callback:
jQuery.easing[this.options.easing || (jQuery.easing.swing ? "swing" :
"linear")] is not a function
This should be legal, no?
<html>
<head>
<script src="http://www.google.com/jsapi"></script>
<script>
google.load("jquery", "1.3.2", {uncompressed:true});
google.load("jqueryui", "1.7.2", {uncompressed:true});
</script>
</head>
<body>
<div id="first">First</div>
<div id="second" style="display:none">Second</div>
<input type="button" value="First To Second"
onclick="$('#first').hide('fast', new function() { $('#second').show
('fast'); });"
/>
</body>
</html>
The hide() call works, but the show() call in the callback fails with
the error message. I'm on FF3.5.
Any ideas?
Thanks,
Jeff