用<div style="position:absolute;top:100;left:100">
or
<layer style="position:absolute;top:100;left:100">

解决方案 »

  1.   

    很简单的功能,代码如下:
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <SCRIPT LANGUAGE="JavaScript">
    <!--function scrollbar(){
    Layer1.style.top = document.body.scrollTop;
    }
    //-->
    </HEAD><BODY BGCOLOR="#FFFFFF" onscroll="scrollbar();">
    <div id=Layer1>
    //your content
    </div>
    </BODY>
    </HTML>
      

  2.   


    Layer1.style.top = 某一数字;
      

  3.   

    <body onscroll="window.scrollTo(0,100)">
    <p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test<p>test