rlarkinsmith Posted July 22, 2013 Share Posted July 22, 2013 I am trying to figure out the best way to add a scrolling marquee feature to the news bar of my website. I have seen several ways to do it from the marquee tag, which I understand is deprecated, to a java script approach. Right now my news are static echo statements from mysql rows and works well as such. However, I would like them to roll or show up one at a time so that I can have more than 5 as they start making the page too long. Link to comment https://forums.phpfreaks.com/topic/280403-scrolling-marquee/ Share on other sites More sharing options...
PaulRyan Posted July 23, 2013 Share Posted July 23, 2013 I personally would load the news from the MySQL table into a JS array and then cycle through them 1 by 1. You could create a scrolling div or just fade the news in and out using jQuery or plain JS. Link to comment https://forums.phpfreaks.com/topic/280403-scrolling-marquee/#findComment-1441798 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.