scrolling divs with js
- Started
- Last post
- 5 Responses
- phatrick
anyone know of a script that does pretty much what yahoo's does on http://news.yahoo.com (i'm referring to the light blue box just below "more headlines") -- i've tried stealing their's but they've foiled me with their ridiculous js file. it breaks with the slightest mod and the code they give in their developer section doesn't have the cool bells and whistles that this one does....someone help!!!
- heavyt0
yahoo labs offers their JS as open-source. They have an API and what-not on the site. Might have to do some web searching to find the page.
- ldww0
- phatrick0
thanks for the responses...i've gotten that far and downloaded the API but i'm still having troubles making it work...i'm not the best coder mind you, otherwise i'd probably have tried to write one myself...any suggestions as to a site that does it using different means?
- ldww0
does it have to paginate like that?
- phatrick0
basically yes...their's works basically with a super wide div layer with a hidden overflow...but the good part about their's is that it counts the total number of divs in the code with the name "container" to decide how many nav dots to put in the middle...also governs when the left and right arrows should dim and no longer be clickable...i've been slowly hacking away at it all day...i think i've got it their's to work, now just to trim up their stylesheet to make it legible too...