Try this:
$(document).ready(function(){
$(.loginToggle).click(function(){
$(#loginForm).toggle(slow);
});
});
Is not only fading, but more or less i think is what you need.
$(document).ready(function(){
$(.loginToggle).click(
function(){
$(#loginForm).*slideToggle*(slow);
});
});
On Sun, May 17, 2009 at 5:21 AM, Jere jg13...@gmail.com wrote:
Try this:
$(document).ready(function(){
$(.loginToggle).click(function(){
You can make your own:
jQuery.fn.fadeToggle = function(speed, easing, callback) {
return this.animate({opacity: 'toggle'}, speed, easing, callback);
};
Probably a little beyond you right now, but study it and check out the
docs.
HTH :)
On May 16, 9:50 am, Sobering stefan.sober...@gmail.com
Btw, you could also combine both effects:
jQuery.fn.slideFadeToggle = function(speed, easing, callback) {
return this.animate({opacity: 'toggle', height: 'toggle'}, speed,
easing, callback);
};
On May 16, 9:49 pm, mkmanning michaell...@gmail.com wrote:
You can make your own:
4 matches
Mail list logo