asked on
<div id="Hello" style="z-index: 104;position:absolute;">
<asp:Panel CssClass="BorderBAround1" Width="150" BackColor="#f7f7f7" ID="P1" runat="server">
<asp:table CssClass ="centerTable" id="tbList" HorizontalAlign="center" runat="server" width="130" CellPadding="0" CellSpacing="0" GridLines="Horizontal">
</asp:table>
</asp:Panel>
</div>
function move(){
// if (window.event)
// {
var ns = navigator.appName;
//document.getElementById('Hello').style.top = 100 + 'px';
// alert(ns);
if(ns == "Netscape")
{
document.getElementById('Hello').style.marginLeft = window.scrollX + 'px';
document.getElementById('Hello').style.top = 33 + 'px';
}
else
{
document.getElementById('Hello').style.marginLeft = document.documentElement.scrollLeft + 'px';
document.getElementById('Hello').style.top = 25 + 'px';
}
}