TeddyKiller Posted June 18, 2010 Share Posted June 18, 2010 I have.. lets say 10 comments... I want to auto scroll them. You don't see the scroller, it just does it. What happens is.. it pauses on one comment.. for.. so many seconds, then scrolls to the next.. pauses, then scrolls to the next and so on. The process repeats itself and cannot be stopped. What is it and how can it be done? Link to comment https://forums.phpfreaks.com/topic/205123-auto-scrolling-comments-infinity/ Share on other sites More sharing options...
Adam Posted June 18, 2010 Share Posted June 18, 2010 It's just an element (most likely a DIV) with the CSS property overlfow set to "hidden", and then JavaScript decreasing/increasing the top property of an "absolute" positioned inner div.. Obviously there's a lot more too it to, but that's the basics behind it. Link to comment https://forums.phpfreaks.com/topic/205123-auto-scrolling-comments-infinity/#findComment-1073903 Share on other sites More sharing options...
TeddyKiller Posted June 18, 2010 Author Share Posted June 18, 2010 Mmm.. I've seen this http://www.dynamicdrive.com/dynamicindex2/mikescroll.htm It looks good, once I change the width and stuff but.. It uses an "add.item" thingy, what I'd like is to.. have divs, inside a wrapper div of the scroller... I just can't find anything. Link to comment https://forums.phpfreaks.com/topic/205123-auto-scrolling-comments-infinity/#findComment-1074113 Share on other sites More sharing options...
TeddyKiller Posted June 19, 2010 Author Share Posted June 19, 2010 I have changed to this - http://plugins.jquery.com/project/vTicker It looks nice, however.. how would I change the max to display to - 'to fit' so that all will be shown ... default is 3. It seems to only allow a limit. Link to comment https://forums.phpfreaks.com/topic/205123-auto-scrolling-comments-infinity/#findComment-1074378 Share on other sites More sharing options...
Adam Posted June 20, 2010 Share Posted June 20, 2010 ..to show them all? What's the point in using a ticker then? Link to comment https://forums.phpfreaks.com/topic/205123-auto-scrolling-comments-infinity/#findComment-1074615 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.