| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 579 人关注过本帖
标题:[求助]xslt滚动效果
只看楼主 加入收藏
yueyazhimeng
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2006-8-9
收藏
 问题点数:0 回复次数:3 
[求助]xslt滚动效果
<?xml version="1.0" encoding="GB2312" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="4.0" indent="no"/>
<xsl:template match="/Goodo">
<marquee behavior="scroll" direction="left" height="128" width="500" onmouseover='this.scrollAmount=0;' onmouseout='this.scrollAmount=3;' scrolldelay="80">
<table height="128" border="0" cellpadding="0" cellspacing="0">
<tr>
<xsl:apply-templates select="Record"/>
</tr>
</table>
</marquee>
</xsl:template>
<xsl:template match="Record">
<td width="144"><table width="144" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="144" height="114" background="images/bg05.gif" class="TableBody17" <img src="{@ContentUrl}" width="122" height="90" alt="查看大图片" border="0"/></td>
</tr>
<tr>
<td><xsl:value-of select="@ContentTitle"/></td>
</tr>
</table>
</td>
<td width="34"></td>
</xsl:template>
</xsl:stylesheet>

上面的代码得到的是从右到左一次滚动,我现在想让他不间断的从右到做滚动,怎么改
搜索更多相关主题的帖子: xslt 效果 滚动 
2006-11-20 18:20
bygg
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:乖乖的心中
等 级:版主
威 望:241
帖 子:13555
专家分:3076
注 册:2006-10-23
收藏
得分:0 
用javasctipt吧,呵呵,效果很好的.

飘过~~
2006-11-20 19:52
wyg4859
Rank: 2
等 级:新手上路
威 望:4
帖 子:883
专家分:0
注 册:2006-8-2
收藏
得分:0 

在tr里再加个td,td外面套marquee


http://www.找到组织!找到党!
2006-11-20 20:34
yueyazhimeng
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2006-8-9
收藏
得分:0 

我就是不知道在xslt中如何调javascript,我用javascript写,他就是死活不动

2006-11-21 17:34
快速回复:[求助]xslt滚动效果
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014090 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved