轮播器代码

/**
燕十八 公益PHP培训
课堂地址:YY频道88354001
学习社区:www.zixue.it
**/

script language="javascript">       
        //广告宽度
        var w = "308";
       
        //广告高度
        var h = "348";
       
        //小广告高度
        var h1 = "60";
       
        //图片地址
        var imgSrc = new Array;
        imgSrc[0] = '<?php echo $this->baseUrl('/upfile/ad/news_1.jpg')?>';
        imgSrc[1] = '<?php echo $this->baseUrl('/upfile/ad/news_2.jpg')?>';
        imgSrc[2] = '<?php echo $this->baseUrl('/upfile/ad/news_3.jpg')?>';
        imgSrc[3] = '<?php echo $this->baseUrl('/upfile/ad/news_4.jpg')?>';
       
        //图片链接地址
        var imgLink = new Array;
        imgLink[0] = '#';
        imgLink[1] = 'http://';
        imgLink[2] = 'http://www.zixue.it';
        imgLink[3] = 'booksjs.php?stypeid=12';
       
        //图片链接提示文字
        var imgLinkTitle = new Array;
        imgLinkTitle[0] = '编程词典<br /><font style="color:#FFB900; font-size:12px; font-weight:normal"></font>';
        imgLinkTitle[1] = '网站优化<br /><font style="color:#FFB900; font-size:12px; font-weight:normal"></font>';
        imgLinkTitle[2] = '<br /><font style="color:#FFB900; font-size:12px; font-weight:normal">燕十八php公益</font>';
        imgLinkTitle[3] = '编程词典服务社区<br /><font style="color:#FFB900; font-size:12px; font-weight:normal">自学点it</font>';
        </script>

转载于:https://www.cnblogs.com/mysqlphp/archive/2012/11/25/2787943.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值