ziedinjsh Posted October 9, 2012 Report Share Posted October 9, 2012 Nesaprotu, kā var apvienot load() ar effect piem: jQuery(document).ready(function(){ jQuery('#test').effect("bounce", { times:4, distance:200 }, 400).load('test.php'); }); Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted October 9, 2012 Author Report Share Posted October 9, 2012 tā es arī meiģināju, bet nekā! Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted October 9, 2012 Author Report Share Posted October 9, 2012 pareizi laikam būtu šādi bet neiet jQuery('#comments').load('load_comments.php?id='+id, function(){ $(this).effect("bounce", { times:3 }, 300); }); Quote Link to comment Share on other sites More sharing options...
ezis Posted October 9, 2012 Report Share Posted October 9, 2012 (edited) Tam '#test' saturs ir pirms mēģini viņu kustināt ar effect? varbūt vispirms vajag ielādēt Tavu test.php un tad tik izmantot effect? Domāju, ka tādā kārtībā, kā Tev norādīts, varētu būt problēmas. $('#test').load('test.php', function(){ $(this).effect("bounce", { times:4, distance:200 }, 400); }); btw, debuggers errorus neuzrāda? Edited October 9, 2012 by ezis Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.