How to get the Apple Javascript Split Flap Counter to run on a local machine
I am captivated by the split-flap animation on Apple's 10 billion song download page. However, I have not been able to replicate it on my own machine. I have downloaded the script and what I believe is the appropriate css, but the page only di开发者_开发问答splays 3 images of the number 0. Has anyone gotten the script to work off of the Apple site?
The script appears to call out to http://www.apple.com/autopush/us/itunes/includes/countdown.inc - are you hosting a local copy of that in the right location?
Someone has built a nice script to exactly replicate this.
I tried on my system and for some reason the IIS would choke on the countdown.inc
file .. it would not load it.. i renamed it to countdown.htm
, and changed the reference in the code to reflect this and it worked just fine...
Note that the animation is all done with a sprite:
http://images.apple.com/itunes/10-billion-song-countdown/images/counter_filmstrip20100211.png
Otherwise, are you debugging the page locally at all? Any .js errors in firebug?
精彩评论