<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);
}