Jquery 类网页微信二维码图块滚动效果具体实现(2)


<decorator:head /> 
        <script type="text/javascript" src="https://www.jb51.net/<%=basePath%>js/jquery.czd_plugins_ad.js"></script> 
        <script language="javascript"> 
        $(document).ready(function(){ 
            $("#leftbelow").ad({ 
                src:"<%=basePath%>/images/qrcode.png",                   
                closeSrc:"<%=basePath%>/images/closeAd.gif",        
                autoHide:false,                
                hideSecond:5,                
                top:480,  
                layout:"left",                
                width:100,                    
                height:100,                  
                opacity:5 
                }); 

            $("#left").ad({ 
                src:"<%=basePath%>/images/longtentianxia20131010.jpg",                     
                closeSrc:"<%=basePath%>/images/closeAd.gif",                
                href:"......",                     
                autoHide:false,                
                hideSecond:5,                
                top:-70,                       
                layout:"left",                
                width:100,                    
                height:500 ,                
                opacity:5  
            }); 
            $("#right").ad({ 
                src:"<%=basePath%>/images/yingxiaodasai201203012.jpg",                   
                closeSrc:"<%=basePath%>/images/closeAd.gif",        
                href:"......",                     
                autoHide:false,                
                hideSecond:5,                
                top:-70,                       
                layout:"right",                
                width:100,                    
                height:500,                  
                opacity:5 
            }); 
        }); 
</script>


二、写上主体body代码

复制代码 代码如下:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wdzgsj.html