chicobandito Posted November 7, 2011 Share Posted November 7, 2011 hello, need to get ahold of some php code for rotating text on a page. looking to have client quotes rotating on the sites' homepage. Thanks!!! Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/ Share on other sites More sharing options...
watsmyname Posted November 7, 2011 Share Posted November 7, 2011 you can't do with alone with php, you got to use javascript or may be AJAX. PHP to fetch quotes from database and javascript to rotate. Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1285761 Share on other sites More sharing options...
haku Posted November 7, 2011 Share Posted November 7, 2011 This can only really be done with the new <canvas> element in HTML5 (using Javascript). Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1285764 Share on other sites More sharing options...
watsmyname Posted November 7, 2011 Share Posted November 7, 2011 looking to have client quotes rotating on the sites' homepage. does he mean rotating in the sense one after another showing the quotes, or he actually meant rotation of the quotes clockwise or counter-clockwise. I think he meant it the first way and for this it can be done via javascript and php. I don't really need canvas of HTML 5 if he meant the first way. Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1285766 Share on other sites More sharing options...
haku Posted November 7, 2011 Share Posted November 7, 2011 What you are describing is called scrolling, not rotating. Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1285776 Share on other sites More sharing options...
watsmyname Posted November 7, 2011 Share Posted November 7, 2011 if so i wonder why he want to rotate a quotes or text???. Anyway I believe rotation can be done via jquery or other javascript frame works. Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1285781 Share on other sites More sharing options...
haku Posted November 7, 2011 Share Posted November 7, 2011 Not without canvas. Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1285783 Share on other sites More sharing options...
chicobandito Posted November 7, 2011 Author Share Posted November 7, 2011 Thanks all... so, I guess I should be asking for direction on scrolling text... Would be nice to find someting that fades out and fades in the next line of text. Any ideas on where I can find something like this that is simple and reliable? Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1285888 Share on other sites More sharing options...
watsmyname Posted November 8, 2011 Share Posted November 8, 2011 dynamicdrive.com search for news scroller or news ticker Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1286110 Share on other sites More sharing options...
chicobandito Posted November 9, 2011 Author Share Posted November 9, 2011 Closing out thread... solved - http://slidesjs.com/ Quote Link to comment https://forums.phpfreaks.com/topic/250595-rotating-text-on-a-page/#findComment-1286648 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.