我最近遇到过这个网站。 http://beta.rallyinteractive.com/。该网站使用了一些相当复杂/令人敬畏的动画。他们只使用一个缩小的脚本文件。我使用chrome扩展了他们的脚本,并试图弄清楚他们是如何实现他们的动画。我有三个问题:
谢谢,
泰龙
答案 0 :(得分:1)
如果查看页面源代码,他们会评论他们使用的javascript文件列表。
<!--
<script src="/static/js/flush/events/Events.js"></script>
<script src="/static/js/flush/events/GlobalEvent.js"></script>
<script src="/static/js/flush/events/GlobalEvents.js"></script>
<script src="/static/js/flush/events/MouseEvent.js"></script>
<script src="/static/js/flush/display/Stage.js"></script>
<script src="/static/js/flush/display/Sprite.js"></script>
<script src="/static/js/flush/display/TraditionalSprite.js"></script>
<script src="/static/js/flush/geom/Point2D.js"></script>
<script src="/static/js/flush/utils/Tween.js"></script>
<script src="/static/js/flush/utils/Ease.js"></script>
<script src="/static/js/flush/utils/Utils.js"></script>
<script src="/static/js/flush/color/HEXColor.js"></script>
<script src="/static/js/flush/color/HSVColor.js"></script>
<script src="/static/js/flush/color/RGBColor.js"></script>
<script src="/static/js/rally/sprites/BioIn.js"></script>
<script src="/static/js/rally/sprites/BioShare.js"></script>
<script src="/static/js/rally/sprites/BioTweet.js"></script>
<script src="/static/js/rally/sprites/BigTweet.js"></script>
<script src="/static/js/rally/sprites/BigShare.js"></script>
<script src="/static/js/rally/sprites/NavArrow.js"></script>
<script src="/static/js/rally/CountText.js"></script>
<script src="/static/js/rally/BottomBar.js"></script>
<script src="/static/js/rally/Refresh.js"></script>
<script src="/static/js/rally/DribbbleLink.js"></script>
<script src="/static/js/rally/Icons.js"></script>
<script src="/static/js/rally/TriangleMask.js"></script>
<script src="/static/js/rally/Triangle.js"></script>
<script src="/static/js/rally/Rally.js"></script>
-->