Welcome to the website navigation,本站只接受合法正规的企业网站,欢迎站长们提交你的网站获得展示和流量有任何问题请联系站长,欢迎大家加入本站。

                
提交网站
  • 网站:76083
  • 待审:5
  • APP:577
  • 文章:304411
  • 会员:56004
文字内链包年1000元 文字内链包年1000元 文字内链包年1000元 AI办公网站 AI绘画工具 AIchat

名站网址导航为广大网友提供关于dz论坛建站教程等内容,论坛安装教程,论坛插件和模板安装教程等。

DZ论坛里经常会有轮播图,我们自己在制作论坛时,也可以自己做轮播图。如下图:nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!

nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!

下面名站网址导航介绍一下DZ论坛网站轮播图制作方法。nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!

方法/步骤

1、下载js文件,解压放在images文件下:
https://pan.baidu.com/s/1bnnuTtl
2、在需要显示换灯片的位置,删除原有的具体代码如下,放入DIY具体代码如下:nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!



 
  
   <
   div 
   class
   =
   "i-focus" 
   id
   =
   "iFocus">
   
<!-- [diy =diyflash9 ]-->< div id = "diyflash9" class = "area">< / div><!-- [ /diy ]-->
< / div>

3、在调用底部文件的具体代码如下上方放上以下的JS具体代码如下来调用JS文件nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!



 
  
   <!--
   {if $_GET
   [
   'diy'
   ] !
   = 
   'yes' 
   }-->
   
< script src = "template/awx/images/js/jquery1.8.3.js" type = "text/javascript">< / script>
< script src = "template/awx/images/js/focusfade.js" type = "text/javascript">< / script>
< script src = "template/awx/images/js/index.js" type = "text/javascript">< / script>
<!-- { /if }-->

4、在DIY中放入以下的具体代码如下【可以根据自己需要设置数量】nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!



 
  
   <
   div 
   class
   =
   "focus-pic">
   
< div class = "if-inner">
< ul>
[index = 1 ]
< li style = "background:url(http://www.banban.so/new/20150912.jpg) no-repeat center;">
< div class = "w1240">
< a href = "{url}" target = "_blank" title = "{title}">< img src = "{pic}" alt = "{title}" width = "{picwidth}" height = "{picheight}">< / a>
< / div>
< / li>
[ /index ]
[index = 2 ]
< li style = "background:#f03540; display:none;">
< div class = "w1240">
< a href = "{url}" target = "_blank" title = "{title}">< img src = "{pic}" alt = "{title}" width = "{picwidth}" height = "{picheight}">< / a>
< / div>
< / li>
[ /index ]
[index = 3 ]
< li style = "background:#0f51b2;display:none;">
< div class = "w1240s">
< a href = "{url}" target = "_blank" title = "{title}">< img src = "{pic}" alt = "{title}" width = "{picwidth}" height = "{picheight}">< / a>
< / div>
< / li>
[ /index ]
[index = 4 ]
< li style = "background:#14a094;display:none;">
< div class = "w1240s">
< a href = "{url}" target = "_blank" title = "{title}">< img src = "{pic}" alt = "{title}" width = "{picwidth}" height = "{picheight}">< / a>
< / div>
< / li>
[ /index ]
[index = 5 ]
< li style = "background:url(http://www.banban.so/new/8.jpg) no-repeat center;display:none;">
< div class = "w1240s">
< a href = "{url}" target = "_blank" title = "{title}">< img src = "{pic}" alt = "{title}" width = "{picwidth}" height = "{picheight}">< / a>
< / div>
< / li>
[ /index ]
< / ul>
< div class = "w1240s focus-btn">
< a href = "javascript:void(0)" class = "left-btn">< / a>
< a href = "javascript:void(0)" class = "right-btn">< / a>
< / div>
< / div>
< / div>

5、将以下的CSS文件放到extend_common.css最下方nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!



 
  
   .i-focus
   {
   height:470px;position:relative;margin-top:-4px
   }
   
.i-focus .if-inner { height:470px;overflow:hidden;position:relative }
.i-focus .if-inner .left-btn,.i-focus .if-inner .right-btn {position:absolute;display:block; width:58px; height:81px;top:194px;z-index: 3;overflow:hidden;display:none }
.i-focus .if-inner .left-btn {left:10px; background:url (arrow.png ) no-repeat }
.i-focus .if-inner .left-btn:hover {background-position:-118px 0 }
.i-focus .if-inner .right-btn {right:10px; background:url (http: //www.banban.so /new /css /images /arrow.png ) no-repeat -59px 0 }
.i-focus .if-inner .right-btn:hover {background-position:-177px 0 }
.i-focus .focus-btn {position:relative }
.i-focus li { height:470px; width: 100%;overflow:hidden;zoom: 1;position:absolute }
.i-focus .focus-dot {position:absolute;top:445px;overflow:hidden;zoom: 1;z-index: 5 }
.i-focus .focus-dot a {display:block; width:9px; height:9px; border:1px solid #fff; border-radius:5px; float:left;display:inline;margin: 0 5px;overflow:hidden }
.i-focus .focus-dot .on { background:#fff }
.w1240 { width:1240px; text- align:center; margin: 0 auto }
.w1240s { width: 1240px; margin: 0 auto; }
.btnss {display:block; width:112px; height:40px;background- color:#148cbe;line- height:40px;text- align:center;font- size:15px; color:white;font-weight:normal; border:none; float:left; cursor:pointer; border-radius:5px; }
.btnss:hover {background- color:#2ca1d1; }
.btnsss {display:block; width:112px; height:40px;background- color:#ef6b00;line- height:40px;text- align:center;font- size:15px; color:#fff!important;font-weight:normal; border:none; float:left; cursor:pointer; border-radius:5px; }
.btnsss:hover {background- color:#ee7513; }

DZ实现第一篇数据不同样式nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!

DZ实现第一篇数据不同样式效果如下图:nVJAIChat_企业网址导航_网址分类目录_企业黄页网址提交查询专业网站!

好了关于论坛的这篇文章就说到这里希望可以帮助大家。有问题可以联系解决。声明,本站内容来源于互联网如果侵犯了你的权益请联系本站删除。

标签:

分享到:

  admin

注册时间:

网站:0 个   APP:3 个  文章:0 篇

  • 76083

    网站

  • 577

    APP

  • 304411

    文章

  • 56004

    会员

赶快注册账号,推广您的网站吧!
文章分类
热门网站
最新入驻APP小程序

宝贝市场2023-02-08

宝贝市场——买手和卖家商品展示

夺宝助手2023-02-08

夺宝助手小程序,查看每日快夺宝平

查诚信2023-02-08

查诚信是一款免费的商业查询工具

车价天天报2023-02-08

快速连接汽车销售,获知汽车最新报

考勤助理小程序2023-02-08

上班签到考勤,实时定位,后台轻松

汽车报价大全查询2023-02-08

汽车报价大全查询提供最新汽车市