GOOGLE的首页的图片动画很有意思。但在GOOGLE的首页代码中,
我找到如下这段代码:
<div><div style="margin: 0.5em auto; background: transparent url(/intl/zh-CN/images/toolbar_animation_20080807.png) no-repeat scroll 0px 0px; width: 52px; height: 37px; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"/><span style="white-space: nowrap;"><font size="-1" style="color: rgb(68, 68, 68); text-decoration: none;">视频</font></span></div>请问实现鼠标移上去动画的代码在哪里? 具体是什么现子?那段JAVASCRIPT好像很乱请高手帮指出来。

解决方案 »

  1.   

    GOOGLE这个例子就很不错了动画的那一段应该是在JAVASCRIPT里面。偶学C++的不太懂而已
      

  2.   


    确实有很多这样的例子
    随便g了一下原理
    http://www.blue1000.com/bkhtml/2008-06/57156.htm代码
    http://www.cnblogs.com/Files/jinweijie/g_toolbar_multi.rar 
      

  3.   

    google整个页面都有ajax吧。
    不懂的飘过。。