帝国论坛帝国网站管理系统交流区帝国CMS使用交流分享我的图片集模板 【本版专题贴子】  
主题:分享我的图片集模板 [加入收藏夹]   

lei_wj
用户头衔:举人

精华贴   :0
发贴数   :283
经验值   :923
注册时间:2009-09-16
信息 搜索 好友 发送悄悄话 精益求精-帝国网站管理系统7.5正式版开源发布】   [第 1 楼]
分享我的图片集模板
先AD一把上海汽车网汽车报价

增加个标签模板
<style>
input,select,button{
        font:12px Verdana,Arial,Tahoma;
        vertical-align:middle;
}
fieldset,img {
        border:0;
}
ol,ul {
        list-style:none;
}
caption,th {
        text-align:left;
}
h1,h2,h3,h4,h5,h6 {
        font-weight:normal;
        font-size:100%;
}
abbr,acronym {
        border:0;
}

.clear {
    clear:both;
        height:30px;
}
.padding10 {
        padding:10px;
}
.main960 {
        width:960px;
        background-color:#3E3E3E;
        margin:0 auto;
        overflow:hidden;
}
.page_no {
        text-align:center;
        margin:0px;
        width:100%;
        clear:both;
}
.epages{
        font:12px Tahoma;
        line-height:40px;
}
.epages *{
    vertical-align:middle;
}
.epages a{
    padding:5px 9px 5px 9px;
        background-color:#000;
        color:#fff;
}
.epages a:hover{
        background:#f2f2f2;
        text-decoration:none;
        color:#ff3300;
}
.epages span {
    color:#ff3300;
        padding:5px 9px 5px 9px;
        background-color:#ccc;
}
.title {
    line-height:40px;
        color:#ff9600;
        font-size:18px;
        font-weight:bold;
        text-align:center;
}
.picsay {
        line-height:22px;
        width:760px;
        margin:0 auto;
        text-indent:24px;
}
.content {
    text-align:center;
        width:100%;
        overflow:hidden;
}
.gallery {
    text-align:center;
        width:100%;
        overflow:hidden;
        clear:both;
}
.p_left {
    width:100px;
        float:left;
        padding-top:150px;
        text-align:right;
}
.p_center {
    width:750px;
        float:left;
        text-align:center;
        overflow:hidden;
}
.p_right {
    width:100px;
        float:right;       
        padding-top:150px;
        text-align:left;
}
.p_top {
    text-align:center;
        padding:5px;
        clear:both;
}
.ranypic {
    padding:20px 10px 10px 10px;
        text-align:center;
        border-top:1px solid #d3d3d3;
        overflow:hidden;
        height:100%;
        vertical-align:middle;
        background-color:#fff;
}
.ranypic li {
        float:left;
        width:188px;
        line-height:24px;
}

.blk_29 {
        padding:10px;
        margin:0 auto;
        overflow: hidden;
        zoom:1;
        position:relative;
        width:590px;
}
.blk_29 .LeftBotton {
        background: url(http://www.101gct.com/img/tpk/left2.jpg) no-repeat 0px 0px;
        left:0px;
        float: left;
        width: 20px;
        cursor: pointer;
        position:absolute;
        top: 36px;
        height: 36px
}
.blk_29 .RightBotton {
        right:0px;
        background:url(http://www.101gct.com/img/tpk/right2.jpg) no-repeat 0px 0px;
        float:right;
        width:20px;
        cursor:pointer;
        position:absolute;
        top: 36px;
        height:36px
}
.blk_29 .Cont {
        overflow: hidden;
        width:auto;
        margin:0 auto;
}
.blk_29 .pbox {
        float:left;
        width:auto;
        padding-right:5px;
}
.blk_29 .pbox IMG {
        width:90px;
        height:90px;
}
.photoresize {
        margin:10px;
        max-width:750px;
}
* html .photoresize {
        width: expression(this.width > 750 && this.width/this.height > 0.07 ? 750 : true);
       
}
.nextphpage {
        border:none;
        width:70px;
        height:70px;
        background: url(http://www.101gct.com/img/tpk/right.jpg) no-repeat;
        cursor:pointer;
}
.priphpage {
        border:none;
        width:70px;
        height:70px;
        background: url(http://www.101gct.com/img/tpk/left.jpg) no-repeat;
        cursor:pointer;
}
.slecpage {
        background-color: #d4d0c8;
        width:90px;
}

</style>
<script type="text/javascript" src="http://www.101gct.com/img/tpk/ScrollPic.js"></script>
<div class="main960">
    <div class="container">
      <div class="content">
          <script type="text/javascript">
        var photosr=new Array();
        [!--photor--]
        function GotoPhPage(page){
                page=parseInt(page);
                document.getElementById("showpagephoto").innerHTML=photosr[page];
                document.ViewPhotoForm.thisphpage.value=page;
                document.ViewPhotoForm.tothephpage.options[page-1].selected=true;
        }
        //上一页
        function PriPhPage(){
                var thispage=parseInt(document.ViewPhotoForm.thisphpage.value);
                var num=photosr.length;
                if(thispage<=1)
                {
                        alert("已是第一页");
                                return "";
                }
                GotoPhPage(thispage-1);
        }
        //下一页
        function NextPhPage(){
                var thispage=parseInt(document.ViewPhotoForm.thisphpage.value);
                var num=photosr.length;
                if(thispage>=num-1)
                {
                        alert("已是最后一页");
                                return "";
                }
                GotoPhPage(thispage+1);
        }
        function PhAutoPlay(){
                var sec=parseInt(document.ViewPhotoForm.autoplaysec.value);
                var i;
                var num=photosr.length;
                for(i=1;i<=sec;i++)
                {
                        if(document.ViewPhotoForm.autophstop.value==0)
                        {
                                window.setTimeout("PhAutoPlayExe("+i+","+sec+")",i*1000);
                        }
                        else
                        {
                                break;
                        }
                }
        }
        function PhAutoPlayExe(num,sec){
                var t;
                if(document.ViewPhotoForm.autophstop.value==1)
                {
                        return "";
                }
                if(num==sec)
                {
                        t=NextPhPage();
                        if(t==false)
                        {
                                GotoPhPage(1);
                        }
                        PhAutoPlay();
                }
        }
        </script>
  <div class="gallery">   
<form name="ViewPhotoForm" id="ViewPhotoForm" method="POST" action="">
<input name="thisphpage" type="hidden" value="1">
<div class="p_top">
<!--<input name="autophstop" type="hidden" value="0">
<input type="button" name="Submit3" value="自动播放" onclick="document.ViewPhotoForm.autophstop.value=0;PhAutoPlay();">
&nbsp;
<select name="autoplaysec">
<option value="3" selected>3 秒</option>
<option value="5">5 秒</option>
<option value="8">8 秒</option>
</select>
&nbsp;
<input type="button" name="Submit32" value="停止播放" onclick="document.ViewPhotoForm.autophstop.value=1;">-->
 
<select name="tothephpage" onchange="GotoPhPage(this.options[this.selectedIndex].value)">
            [!--select--]
          </select>
</div>
<div class="p_left">
<input type="button" name="Submit" value="" onclick="PriPhPage();" class="priphpage">
</div>
<div id="showpagephoto" class="p_center"><!--list.var1--></a></a><br><span style='line-height=18pt'></span>
</div>
<div class="p_right">
<input type="button" name="Submit2" value="" onclick="NextPhPage();" class="nextphpage">
</div>
  </form>
  </div>
  <div class=blk_29>
  <div class=LeftBotton id=LeftArr></div>
<div class=Cont id=ISL_Cont_1>
<div class=pbox>[!--smalldh--]</div>
</div>
  <div class=RightBotton id=RightArr></div>
  </div>
  <SCRIPT language=javascript type=text/javascript>
                <!--//--><![CDATA[//><!--
                var scrollPic_02 = new ScrollPic();
                scrollPic_02.scrollContId   = "ISL_Cont_1"; //内容容器ID
                scrollPic_02.arrLeftId      = "LeftArr";//左箭头ID
                scrollPic_02.arrRightId     = "RightArr"; //右箭头ID

                scrollPic_02.frameWidth     = 560;//显示框宽度
                scrollPic_02.pageWidth      = 282; //翻页宽度

                scrollPic_02.speed          = 10; //移动速度(单位毫秒,越小越快)
                scrollPic_02.space          = 10; //每次移动像素(单位px,越大越快)
                scrollPic_02.autoPlay       = true; //自动播放
                scrollPic_02.autoPlayTime   = 3; //自动播放间隔时间(秒)

                scrollPic_02.initialize(); //初始化
                                                       
                //--><!]]>
</SCRIPT></div>
  </div>     
</div>

《--华丽的分割线--》----------------------------------------------------------

列表内容模板(list.var) (*)
<a href='#kalaaa' onclick='NextPhPage();'><img src='[!--picurl--]' alt='[!--picname--]' border=1 class='photoresize'></a><br><span style='line-height=18pt'></span>

http://www.101gct.com/img/tpk/ScrollPic.js 直接打开我网站下载吧。。

内容模板直接用[eshowphoto]你的标签模板ID,0,0[/eshowphoto]调用它就行了

效果如下http://www.101gct.com/tupianzhongxin/xuefolan/keluzituku/2009-10-30/12.html




2010-04-07 12:21:44 已设置保密 顶部 回复 引用 报告 编辑 删除

winston
用户头衔:进士

精华贴   :1
发贴数   :606
经验值   :2095
注册时间:2009-10-10
信息 搜索 好友 发送悄悄话 免费开源-EBMA系统:更安全的MYSQL管理和备份系统】   [第 2 楼]

收了  thx Lz



承接各种网站建设,插件制作:QQ1160589143
爱威插件制作
zziwei.com
郑州网站建设

2010-04-07 12:38:30 已设置保密 顶部 回复 引用 报告 编辑 删除

lei_wj
用户头衔:举人

精华贴   :0
发贴数   :283
经验值   :923
注册时间:2009-09-16
信息 搜索 好友 发送悄悄话 精益求精-帝国网站管理系统7.5正式版开源发布】   [第 3 楼]

好东东顶一下吧




2010-04-12 15:20:26 已设置保密 顶部 回复 引用 报告 编辑 删除

befor
用户头衔:进士

精华贴   :0
发贴数   :691
经验值   :1934
注册时间:2008-02-18
信息 搜索 好友 发送悄悄话 免费开源-EBMA系统:更安全的MYSQL管理和备份系统】   [第 4 楼]

支持




2010-04-13 07:53:00 已设置保密 顶部 回复 引用 报告 编辑 删除

snkv3000
用户头衔:秀才

精华贴   :0
发贴数   :136
经验值   :422
注册时间:2010-03-04
信息 搜索 好友 发送悄悄话 精益求精-帝国网站管理系统7.5正式版开源发布】   [第 5 楼]

不错。如果导航图片到头了,还能往回动就好了。呵呵




2010-04-16 21:19:09 已设置保密 顶部 回复 引用 报告 编辑 删除

flyhu99
用户头衔:书生

精华贴   :0
发贴数   :3
经验值   :298
注册时间:2010-01-27
信息 搜索 好友 发送悄悄话 免费开源-EBMA系统:更安全的MYSQL管理和备份系统】   [第 6 楼]

非常不错,支持




2010-05-11 19:48:36 已设置保密 顶部 回复 引用 报告 编辑 删除

liang73good
用户头衔:书生

精华贴   :0
发贴数   :12
经验值   :56
注册时间:2009-11-26
信息 搜索 好友 发送悄悄话 精益求精-帝国网站管理系统7.5正式版开源发布】   [第 7 楼]

http://www.101gct.com/cxpldq/xfl/shtyxfl/1.html#tp  能告诉我你这个页面怎么实现的嘛?图片集里的图片是怎么调出来的啊




2010-05-17 22:32:02 已设置保密 顶部 回复 引用 报告 编辑 删除

a001818
用户头衔:书生

精华贴   :0
发贴数   :7
经验值   :74
注册时间:2009-04-18
信息 搜索 好友 发送悄悄话 免费开源-EBMA系统:更安全的MYSQL管理和备份系统】   [第 8 楼]

好东东顶一下吧




2011-09-03 15:49:43 已设置保密 顶部 回复 引用 报告 编辑 删除

gubin15
用户头衔:书生

精华贴   :0
发贴数   :9
经验值   :66
注册时间:2009-10-05
信息 搜索 好友 发送悄悄话 精益求精-帝国网站管理系统7.5正式版开源发布】   [第 9 楼]

变彩票网咯!!!!



有趣新闻美女丝袜图
2020-03-29 22:11:38 已设置保密 顶部 回复 引用 报告 编辑 删除

快速回复
内容

表情
使用EBB代码 使用smile代码 显示签名 自动分析url 自动分析img
     【进入高级模式】   (按 Ctrl+Enter 直接提交)
    顶部  加入收藏夹
关于帝国 | 广告服务 | 联系我们 | 法律声明 | 隐私条款 | 许可协议
Powered by: EBB Version 2.2.1