日期:2014-05-17  浏览次数:20844 次

求 "顶一下" 代码
就像下方的 "顶 "代码
好像JS还是AJAX的啊

------解决方案--------------------
可以使用页面锚点,或使用JS的scroll(0,-360)来实现
<html>
<head>
<title> 顶 </title>
</head>
<body>
<a name= "#top "> </a>
<!--这里是N多的内容产生页面垂直滚动条-->
<a href= "#Top "> Top </a>
</body>
</html>
或者
<html>
<head>
<title> 顶 </title>
</head>
<body>
<!--这里是N多的内容产生页面垂直滚动条-->
<a href= "javascript:scroll(0,-360); "> Top </a>
</body>
</html>

------解决方案--------------------
空链接
<a href= "# "> 顶 </a>
------解决方案--------------------
不明白lz 意思
------解决方案--------------------
将帧子置顶还是返回本页顶端?


------解决方案--------------------
是这个网站的下端么??
还是像163那样的顶啊??
------解决方案--------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml ">

<head>
<meta http-equiv= "Content-Language " content= "zh-cn " />
<meta http-equiv= "Content-Type " content= "text/html; charset=utf-8 " />
<title> 楼主 </title>
</head>

<body>

<p> 楼主 <!--这里是楼主的肺--> <a name= "#top "> </a> </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 盖楼小弟 </p>
<p> 我在这里。 <!--这里是我的武器--> <a href= "#top "> 点击这里顶楼主的肺 </a> </p>

</body>

</html>