javascript 自动转到命名锚记

[ 2009-01-06 10:58:40 | Author: zhenhua ]
Font Size: Large | Medium | Small
<script laguage="javascript">
 window.location.hash = "#bottom";
<a name="bottom">底部</a>

<script laguage="javascript">
 //function scrollwin() {
 var scroll_y = parseInt(1000);
 window.scrollBy(0, scroll_y);

Comments Feed Comments Feed:
UTF-8 Encoding Trackback URL:

There is no comment on this article.

If you feel this site you find this information helpful, please click on the donation, which is voluntary,Thank you.
Post Comment
[arrow] [biggrin] [confused] [cool]
[cry] [eek] [evil] [exclaim]
[frown] [idea] [lol] [mad]
[mrgreen] [neutral] [question] [razz]
[redface] [rolleyes] [sad] [smile]
[surprised] [twisted] [wink]
Enable UBB Codes
Auto Convert URL
Show Smilies
Hidden Comment
Username:   Password:   Register Now?
Security Code * Please Enter the Security Code