账号通
    

账号  

密码  

1900

查看

2

回复
主题:[求助]sql标签实现指定调用第几张幻灯 [收藏主题]  
eoli 当前离线

37

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:297 分
登录次数:111 次
注册时间:2009/5/11
最后登录:2014/6/12
eoli 发表于:2010/7/27 14:39:07   | 显示全部帖子 查看该作者主题 楼主 
想利用sql标签在某个地方指定显示第几张幻灯,比如将五张幻灯分开显示,在指定的位置显示第几张

<DIV class=fpic><A id=foclnk href="/2010/0409/33.html" target=_blank>

<IMG id=focpic style="FILTER: RevealTrans ( duration = 1,transition=12 ); VISIBILITY: visible; POSITION: absolute"

height=228 alt="" src="images/01.jpg" width=302> </A>

<DIV id=fttlbg></DIV>

<DIV id=fttltxt></DIV>

<DIV class=thubpiccur id=tmb0 onmouseover=setfoc(0); onmouseout=playit();><IMG

alt=文章测试 src="images/01.jpg"> </DIV>

<DIV class=thubpic id=tmb1 onmouseover=setfoc(1); onmouseout=playit();><IMG

alt=文章测试 src="images/02.jpg"> </DIV>

<DIV class=thubpic id=tmb2 onmouseover=setfoc(2); onmouseout=playit();><IMG

alt=文章测试 src="images/03.jpg"> </DIV>

<DIV class=thubpic id=tmb3 onmouseover=setfoc(3); onmouseout=playit();><IMG

alt=文章测试 src="images/04.jpg"> </DIV></DIV>

<P>

<SCRIPT language=javascript type=text/javascript>var picarry = {};var lnkarry = {};var ttlarry = {};var tararry = {};

picarry[0] = "images/01.jpg";lnkarry[0] = "/html/articles/youshanwanshui/2010/0409/33.html";tararry[0] = "_blank";ttlarry[0] = "文章测试";

picarry[1] = "images/02.jpg";lnkarry[1] = "/html/articles/youshanwanshui/2010/0409/32.html";tararry[1] = "_blank";ttlarry[1] = "文章测试";

picarry[2] = "images/03.jpg";lnkarry[2] = "/html/articles/youshanwanshui/2010/0409/31.html";tararry[2] = "_blank";ttlarry[2] = "文章测试";

picarry[3] = "images/04.jpg";lnkarry[3] = "/html/articles/youshanwanshui/2010/0409/30.html";tararry[3] = "_blank";ttlarry[3] = "文章测试";

setInterval(playnext,7500);

</SCRIPT>

以上红色的地方分别显示,在织梦中能设置,科讯不会啊,请教各位

下面是织梦的代码

  <DIV class=fpic>

         {dede:arclist flag='f' row='4' limit='0,1'}

         <A id=foclnk href="[field:arcurl/]" target=_blank><IMG id=focpic style="FILTER: RevealTrans ( duration = 1,transition=12 ); VISIBILITY: visible; POSITION:         absolute" height=228 alt="" src="[field:litpic/]" width=302>

         {/dede:arclist}</A>

         <DIV id=fttlbg></DIV>

         <DIV id=fttltxt></DIV>

          <DIV class=thubpiccur id=tmb0 onmouseover=setfoc(0); onmouseout=playit();> {dede:arclist flag='f' row='4' limit='0,1'}<img src="[field:litpic/]" alt="[field:title function='html2text(@me)'/]" /> {/dede:arclist}</DIV>

          <DIV class=thubpic id=tmb1 onmouseover=setfoc(1); onmouseout=playit();>{dede:arclist flag='f' row='4' limit='1,1'}<img src="[field:litpic/]" alt="[field:title function='html2text(@me)'/]" />            {/dede:arclist}</DIV>

          <DIV class=thubpic id=tmb2 onmouseover=setfoc(2); onmouseout=playit();>{dede:arclist flag='f' row='4' limit='2,1'}<img src="[field:litpic/]" alt="[field:title function='html2text(@me)'/]" />            {/dede:arclist}</DIV>

          <DIV class=thubpic id=tmb3 onmouseover=setfoc(3); onmouseout=playit();> {dede:arclist flag='f' row='4' limit='3,1'}<img src="[field:litpic/]" alt="[field:title function='html2text(@me)'/]" /> {/dede:arclist}</DIV></DIV>

   <P>

<SCRIPT language=javascript type=text/javascript>var picarry = {};var lnkarry = {};var ttlarry = {};var tararry = {};

{dede:arclist flag='f' row='4' limit='0,1'} picarry[0] = "[field:litpic/]";lnkarry[0] = "[field:arcurl/]";tararry[0] = "_blank";ttlarry[0] = "[field:title function='html2text(@me)'/]";{/dede:arclist}

{dede:arclist flag='f' row='4' limit='1,1'} picarry[1] = "[field:litpic/]";lnkarry[1] = "[field:arcurl/]";tararry[1] = "_blank";ttlarry[1] = "[field:title function='html2text(@me)'/]";{/dede:arclist}

{dede:arclist flag='f' row='4' limit='2,1'} picarry[2] = "[field:litpic/]";lnkarry[2] = "[field:arcurl/]";tararry[2] = "_blank";ttlarry[2] = "[field:title function='html2text(@me)'/]";{/dede:arclist}

{dede:arclist flag='f' row='4' limit='3,1'} picarry[3] = "[field:litpic/]";lnkarry[3] = "[field:arcurl/]";tararry[3] = "_blank";ttlarry[3] = "[field:title function='html2text(@me)'/]";{/dede:arclist}

setInterval(playnext,3500);

</SCRIPT>

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.06299秒 powered by KesionCMS 9.0