简体   繁体   English

如何使Apple Javascript Split Flap Counter在本地计算机上运行

[英]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. 我对Apple的100亿首歌曲下载页面上的分割动画感到着迷。 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 displays 3 images of the number 0. Has anyone gotten the script to work off of the Apple site? 我已经下载了该脚本,并且认为是合适的CSS,但是该页面仅显示3张数字为0的图像。有人从Apple网站上获取了该脚本吗?

该脚本似乎呼出到http://www.apple.com/autopush/us/itunes/includes/countdown.inc-您是否在正确的位置托管了该脚本的本地副本?

有人构建了一个不错的脚本来精确复制此脚本

我尝试在我的系统上运行,由于某种原因,IIS阻塞了countdown.inc文件..它无法加载..我将其重命名为countdown.htm ,并更改了代码中的引用以反映该问题,并且它仅能正常工作精细...

Note that the animation is all done with a sprite: 注意,动画都是用精灵完成的:

http://images.apple.com/itunes/10-billion-song-countdown/images/counter_filmstrip20100211.png 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? Firebug中是否存在任何.js错误?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM