【www.gdgbn.com--js教程】

一款js flash 产品展示幻灯效果,当鼠标指上图片时就会自动滚动,是一款不错的幻灯效果,喜欢的朋友拿去试一下吧。





flash 产品展示幻灯效果

  
 
        <script type="text/网页特效" src="js/swfobject.js"></script>
        <script type="text/javascript" src="js/swfmacmousewheel.js"></script>
  
  <script type="text/javascript">
  
   var stagew = 560;
   var stageh = 300;
   var cachebuster = date.parse(new date());
   
   // attributes
      var attributes = {};
      attributes.id = "flabellcomponent";
      attributes.name = attributes.id;
     
   var flashvars = {}; 
   var params = {};
   
   params.bgcolor = "#ffffff";
   
   flashvars.componentwidth = 560;
   flashvars.componentheight = 300;
   
   flashvars.pathtofiles = "slider/";
   flashvars.settingspath = "xml/slider.xml";
   
   swfobject.embedswf("preview.swf?t="+cachebuster, "flabellcomponent", stagew, stageh, "9.0.124", "js/expressinstall.swf", flashvars, params);
   swfmacmousewheel.registerobject(attributes.id);
   
  </script>
   
 


 
 
  
   
   
   
    
     


      
       get adobe flash player
      
     

 
    
   
   
   
  
 
 

源码下载
http://down.111cn.net/down/code/js/jiaodiantu/2010/1102/21589.html
效果预览
http://g.111cn.net/javascript/code/20101102/ft/

本文来源:http://www.gdgbn.com/wangyezhizuo/27796/