slideToggle problem
#1
$("div#"+cid+".statusupdate_comment").slideToggle('slow');
                     $("div#"+cid+".statusupdate_comment").replaceWith(editcomment);
                     $("div#"+cid+".statusupdate_comment").slideToggle('slow');

how to do this and not lose animation
My Plugins

PM only paid support
Reply
#2
You've to use cache to that purposes.

You can use addClass and removeClass to customize efects but allways i use jquery cache that is present with all 1.8.x series of MyBB.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
#3
solved

$("div#"+cid+".statusupdate_comment").slideToggle("slow", function()
					{
						$("div#"+cid+".statusupdate_comment").replaceWith(editcomment);
						$("div#"+cid+".statusupdate_comment").hide();
});
My Plugins

PM only paid support
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)