razaviv Posted September 24, 2010 Share Posted September 24, 2010 hello, im using ajax to display random posts, that means: after 15 seconds post is auto changed to other random post.i want that each random post will be displayed designedly, the design method im using is jqeury. in jquery there is function to load the pagemore beautiful than normal, this is the function: <script>$(document).ready(function(){ $('#page_effect').fadeIn(2000); });</script>this code takes div with display none and make it block by fades in, of 2 seconds.i play the function that displays the posts with settimeout function, and if i code jquery inside the page that transfered with ajax to the main div,in the main page, the jquery wont works. it works and display it nice with fades in only if i load the page by myself and directedly. does someon know how to load the ajax page, or maybe insert the jquery so it will works?oh, and im also looking for nice page loads with jquery, to load random posts dynamicly.thanks for help Link to comment Share on other sites More sharing options...
ShadowMage Posted September 24, 2010 Share Posted September 24, 2010 Perhaps this thread might help you:http://w3schools.invisionzone.com/index.php?showtopic=33380Sounds like a very similar issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.