asdfasdffffffffffffffffffffffffffffffffffffffffffffffffff
来源:互联网 发布:bayer转rgb算法 编辑:程序博客网 时间:2024/06/17 23:57
<div style="overflow:hidden; width:187px; height:60px; padding:0;margin-top:45px;">
<div id="designers" style="margin-top:0px;text-align:center;">
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;background-image:url('../../Img/MSsetiao003.png');"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdaf</span></div>
<div style="width:187px;text-align:center;height:15px;"><span class="fontStyleBlack">asdfsdafsadfsadffffffffffffffffffaaaaaaaaaaaaaaaaaaacccccccccc</span></div>
</div>
</div>
<asp:HiddenField ID="hidDesigner" runat="server" Value="0" />
var all = 9;
var hand = null;
var size = null;
var moveflg = null;
var heightOfLine = 15;
function upclick() {
var ctl = document.getElementById("designers");
var nowtop = parseInt(ctl.style.marginTop);
if (nowtop <= -(all - 4) * heightOfLine) {
clearInterval(hand);
hand = null;
size = null;
moveflg = null;
return;
}
if (hand != null) {
return;
}
size = nowtop - heightOfLine;
moveflg = "up";
hand=setInterval(moveDiv, 10);
}
function moveDiv() {
var ctl = document.getElementById("designers");
var nowtop = 0;
if (moveflg == "up") {
nowtop = parseInt(ctl.style.marginTop);
nowtop--;
if (nowtop == size) {
clearInterval(hand);
hand = null;
size = null;
moveflg = null;
}
ctl.style.marginTop = nowtop + "px";
return;
}
nowtop = parseInt(ctl.style.marginTop);
nowtop++;
if (nowtop == size) {
clearInterval(hand);
hand = null;
size = null;
moveflg = null;
}
ctl.style.marginTop = nowtop + "px";
return;
}
function downclick() {
var ctl = document.getElementById("designers");
var nowtop = parseInt(ctl.style.marginTop);
if (nowtop == 0) {
clearInterval(hand);
hand = null;
size = null;
moveflg = null;
return;
}
if (hand != null) {
return;
}
size = nowtop + heightOfLine;
moveflg = "do";
hand = setInterval(moveDiv, 10);
}
- asdfasdffffffffffffffffffffffffffffffffffffffffffffffffff
- 案列样本
- Spring MVC框架的高级配置
- java 同步机制浅谈-----synchronized对代码作何影响?
- const_iterator
- 如何在VC中嵌入IE
- asdfasdffffffffffffffffffffffffffffffffffffffffffffffffff
- eclipse 又一次把我的修改还原到上一次的状态
- 第21讲 远程共享对象
- myEclipse 不编译,一般是和lib有关系
- C++的异常探讨
- 第22讲 远程调用
- 树欲静而风不止,子欲养而亲不待
- HTTP请求:GET与POST方法的区别
- Design Process and Scope in Mobile Client team