| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1388 人关注过本帖, 1 人收藏
标题:滚动对联代码
取消只看楼主 加入收藏
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏(1)
 问题点数:0 回复次数:4 
滚动对联代码
http://promote.paipai.com/act/200601/100w/index.shtml?mm=NDIxNzgxMDQ0JTdDYWlmZQ==

求这个页面上的滚动对联代码
搜索更多相关主题的帖子: 对联 代码 滚动 
2006-02-05 17:28
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
得分:0 

看了
<span id="showCoupletLeft" style="LEFT: 5px; POSITION: absolute; TOP: 9px">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100" height="300">
<param name="movie" value="http://pics.paipai.com/newsys/promote/act/200601/100w/left.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="menu" value="0" />
<embed src="http://pics.paipai.com/newsys/promote/act/200601/100w/left.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="300"></embed>
</object><br/>
<a href="#" onclick="SeePrize(this)"><img src="http://pics.paipai.com/newsys/promote/act/200601/100w/100w_38_01.gif" width="100" height="120" border="0"/></a><br/><br/><br/>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="80" height="80">
<param name="movie" value="http://pics.paipai.com/newsys/promote/act/200601/100w/bainian.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="menu" value="0" />
<embed src="http://pics.paipai.com/newsys/promote/act/200601/100w/bainian.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="80" height="80"></embed>
</object>
</span>
<span id="showCoupletRight" style="RIGHT: 5px; POSITION: absolute; TOP: 9px">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100" height="300">
<param name="movie" value="http://pics.paipai.com/newsys/promote/act/200601/100w/right.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="menu" value="0" />
<embed src="http://pics.paipai.com/newsys/promote/act/200601/100w/right.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="300"></embed>
</object><br/>
<a href="#paipai"><img src="http://pics.paipai.com/newsys/promote/act/200601/100w/100w_38_02.gif" width="100" height="120" border="0"/></a></span>
<script type="text/javascript">
function closead()
{
document.getElementById("showCoupletLeft").style.visibility='hidden';
document.getElementById("showCoupletRight").style.visibility='hidden';
}
function MoveCouplet(LName,RName) {
if(screen.width<1000||!document.all){
document.getElementById(LName).style.display = 'none';
document.getElementById(RName).style.display = 'none';
} else{
document.getElementById(LName).style.posTop = -200;
document.getElementById(LName).style.position = 'absolute';
document.getElementById(RName).style.posTop = -200;
document.getElementById(RName).style.position = 'absolute';
MoveCoupletLeft(LName);
MoveCoupletRight(RName);
}
}
function MoveCoupletLeft(LName) {
var x = 5;
var y = 10;
var diff = (document.documentElement.scrollTop + y - document.getElementById(LName).style.posTop)*0.4;
var y = document.documentElement.scrollTop + y - diff;
document.getElementById(LName).style.posTop = y;
document.getElementById(LName).style.posLeft = x;
LeftName=LName;
setTimeout("MoveCoupletLeft(LeftName);", 1);
}
function MoveCoupletRight(RName) {
var x = 5;
var y = 10;
var diff = (document.documentElement.scrollTop + y - document.getElementById(RName).style.posTop)*0.4;
var y = document.documentElement.scrollTop + y - diff;
document.getElementById(RName).style.posTop = y;
document.getElementById(RName).style.posRight = x;
RightName=RName;
setTimeout("MoveCoupletRight(RightName);", 20);
}
MoveCouplet("showCoupletLeft","showCoupletRight")
</script>
我觉得是这段,可是我加上去不会滚动


2006-02-05 17:36
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
得分:0 
谢谢,不过这个不是

2006-02-05 18:42
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
得分:0 
没有人知道吗,高手帮帮忙

2006-02-06 13:10
酷酷的鱼
Rank: 1
等 级:新手上路
威 望:1
帖 子:472
专家分:0
注 册:2005-8-9
收藏
得分:0 
谢谢老大

2006-02-06 18:06
快速回复:滚动对联代码
数据加载中...
 
   



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

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