JQuery load content and the slide at the same time -


below js

$('#maindiv').load('revolutionarycommunity.html', function() {        alert('load performed.');        $('#maindiv').slidedown('slow'); }); 

here trying load html page , sliding it. maindiv have content when call function maindiv load revolutionarycommunity.html.

but here whole maindiv sliding down loaded html content. need loading , sliding @ same time, how can this?

if question right, following:

$("#maindiv").slidedown("slow", function () {     $(this).load('revolutionarycommunity.html', function() {        alert('load performed.');     }); }); 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -