<div id="divtable" style="OVERFLOW: auto; WIDTH: 100%; overflow-x:hidden;
HEIGHT: 237px; scrollbar-face-color: #889B9F">
overflow-x:hidden:横向隐藏
scrollbar-face-color: #889B9F :滚动条颜色
οnmοuseοver="this.style.cursor='pointer'" οnmοuseοut="this.style.cursor=''" //图片变小手
function
show()
{
var ss=document.getElementById("d"); //获得DIV层
//alert(ss.offsetTop);//获取顶坐标
// alert(ss.offsetLeft);//获取距离左位置
alert(ss.style.top);//获取距离顶位置
ss.style.top=document.form1.Text1.value; //设置顶位置
ss.innerHTML='<A href="http://www.baidu.com" >北京地区</A>';
}
{
var ss=document.getElementById("d"); //获得DIV层
//alert(ss.offsetTop);//获取顶坐标
// alert(ss.offsetLeft);//获取距离左位置
alert(ss.style.top);//获取距离顶位置
ss.style.top=document.form1.Text1.value; //设置顶位置
ss.innerHTML='<A href="http://www.baidu.com" >北京地区</A>';
}