Rabastan Posted May 13, 2012 Share Posted May 13, 2012 I am working on a site that has a block (div) in the left column that displays upcoming events from a MySql database. What I need to pull from the data base is Date, Name, and Description. What I would like to do is Display Record 1 for like 10 seconds, Auto Scroll up to Record 2 for like 10 seconds, Auto Scroll up to record 3, till end of records, then loop back to Record 1. I have searched and searched and cant figure out how to do this, PLEASE HELP!!! Rab Link to comment https://forums.phpfreaks.com/topic/262469-scrolling-records/ Share on other sites More sharing options...
smerny Posted May 13, 2012 Share Posted May 13, 2012 use ajax to load data (can be a php page that only contains certain content pulled from mysql). could use jquery load() http://api.jquery.com/load/ and keep track of how many times it was called, passing that value to the ajax call to determine which record to pull Link to comment https://forums.phpfreaks.com/topic/262469-scrolling-records/#findComment-1345076 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.