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. Quote Link to comment 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. 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.