Hi,
I would like to ask for your help.
Please look at the code below.
I would like to keep the location of the buttons while scrolling to
the right but I can't get a smoth scroll (without flickering of the
buttons).
BTW:
I need it for IE only.
Thanks,
Yaron
<html>
<head>
<title>Scrool Right</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaS cript">
<!--
function scrollBTN()
{
var scrollLeft = document.body.s crollLeft;
document.getEle mentById('BTN1' ).style.padding Left = scrollLeft;
}
//-->
</script>
</head>
<body bgcolor=#FFFFFF onscroll="scrol lBTN()" >
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER=0>
<TR>
<TD width="1900">11 111111111111111 111111111111111 111111111111111 111111111112222 222222222222222 222222222222222 222222222222333 333333333333333 333333333333333 333333334444444 444444444444444 444444444444444 444455555555555 5555555555555</td>
<TD> Right </td>
</TR>
<tr><td colspan="2">
<div id="BTN1">
<input type="BUTTON" value="Get">&nb sp;<input type="BUTTON"
value="Clear">
</div>
</td></tr>
</TABLE>
</body>
</html>
I would like to ask for your help.
Please look at the code below.
I would like to keep the location of the buttons while scrolling to
the right but I can't get a smoth scroll (without flickering of the
buttons).
BTW:
I need it for IE only.
Thanks,
Yaron
<html>
<head>
<title>Scrool Right</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaS cript">
<!--
function scrollBTN()
{
var scrollLeft = document.body.s crollLeft;
document.getEle mentById('BTN1' ).style.padding Left = scrollLeft;
}
//-->
</script>
</head>
<body bgcolor=#FFFFFF onscroll="scrol lBTN()" >
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER=0>
<TR>
<TD width="1900">11 111111111111111 111111111111111 111111111111111 111111111112222 222222222222222 222222222222222 222222222222333 333333333333333 333333333333333 333333334444444 444444444444444 444444444444444 444455555555555 5555555555555</td>
<TD> Right </td>
</TR>
<tr><td colspan="2">
<div id="BTN1">
<input type="BUTTON" value="Get">&nb sp;<input type="BUTTON"
value="Clear">
</div>
</td></tr>
</TABLE>
</body>
</html>
Comment