html锚点 点击跳转到页面指定位置
本来是在看阮大神写的ajax教程,突然发现点击目录文字会跳转到相对应的文本内容,于是乎激发了我的兴趣。
这个究竟怎么做的,刚开始看的时候一知半解,找度娘就是:“点击跳转到页面指定位置”,找了下,原来专业术语叫:锚点。
度娘真是个博大精深的地方,有着多种的方法可以使用。
最简单的一种:
设置a标签的锚点就行啦,但是有个确定链接会更改,不利于刷新
<div class="skip" id="skip">
<h2>目录</h2>
<ul>
<li>
<a href="#toc0" class="aaa">点击文字跳转</a>
<!--herf的值一定要带#号,并且要和相对应要跳转的值一致-->
</li>
</ul>
<div class="chapter" style="margin-top: 850px;">
<a name="toc0" class="aaa1">文字跳转到这里</a>
<!--这里的a标签可以用name也可以用id-->
<p>心情假心情假心情假心情假心情假心情假心情假心情假心情假心情假心情假心情假心情假
心情假心情假心情假心情假心情假心情假心情假心情假心情假心情假心情假心情假</p>
</div>
</div>
第二种方法是根据animate的方法来移动
animate(params, [duration], [easing], [callback])
创建自定义动画,注意:所有指定的属性必须用骆驼形式,比如用marginLeft代替margin-left.
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr0AAAFMCAIAAABJYJOuAAAgAElEQVR4nO2d3Yslx3mH/T/1zSAyqwUZy7qw2HjP4NEuMpFsnAULL7PuCRklWsSGIBx5ZHZOhAY5hN0sgclAMmkZaUBY9h6iLLssimiNFhPOxbkQE4SkCx2EsMAXJxfdXV0fb1VXn++ZeX48iJ3+qK6qrq769VvVR98aIYQQQgjF6VuLzgBCCCGETozwDQghhBCKFb4BIYQQQrH61uu/+QMAAABADPgGAAAAiAXfAAAAALHgGwAAACAWfAMAAADEgm8AAACAWPANAAAAEAu+AQAAAGLBNwAAAEAs+AYAAACIBd8AAAAAsYR8wzuf/mk0+tPg4R9e/80Xn49Gn/fNAx5+9fWXX7z+mz+83v/j6Juv3in+8eUX5YnFLgAAADhFeHxD/4+j0ejrTz+xtpT+oOSTwTd/GjxUvuGLz0uTUW1fdNkAAABguri+4ZPBN8H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JycJN7ZQmIY0bf3LmwghhE6eltI3qMV9ZjjdWSpYT2TELlgYjexvB4VclEm7U/vlxvJnC8w5EGldZLCg1YYsdQ8vEtU/a2zhG3zldmuuZdXplqFa46qv2JRKghBC6HRp/r6h2zBWSQOPNWtRKD4url6aM/fXk+1UdYcgDf7WxIVKT4436GsuzJUS5Ym+1YR2Tt2ZFCFd+zhnkiFQxR6Z5kkI2rjTGsxXIITQKRb/H22EEEIIxQrfgBBCCKFY4RsQQgghFCt8A0IIIYRihW9ACCGEUKzwDQghhBCKFb4BIYQQQrHCNyCEEEIoVvgGhBBCCMUK34AQQgihWOEbEEIIIRSrb73+mz8AAAAAxIBvAAAAgFjwDQAAABALvgEAAABiwTcAAABALP8P7C7bRbZBPDYAAAAASUVORK5CYII=" alt="" />
例子:
// 在一个动画中同时应用三种类型的效果
$("#go").click(function(){
$("#block").animate({
width: "90%",
height: "100%",
fontSize: "10em", //驼峰
borderWidth:
}, );
});
将上面的html中的a标签去掉#toc0
js代码
$(".aaa").click(function () {
$('html,body').animate({
scrollTop:$(".aaa1").offset().top},{duration:,easing:'swing'});
return false;
})
以上总结的两种是常用且兼容比较好的,较为简单的
也可参考复杂的案例
http://www.jb51.net/article/96574.htm
http://bbs.csdn.net/topics/390960199?page=1
html锚点 点击跳转到页面指定位置的更多相关文章
- HTML实现跳转到页面指定位置
<a href="#page1">跳转到页面1</a> <a href="#page2">跳转到页面2</a> ...
- jQuery跳转到页面指定位置
@参考博客 var t = $("#id").offset().top;// 获取需要跳转到标签的top值 //$(window).scrollTop(t);// 跳转到指定位置 ...
- 通过href简单实现单击a链接跳转到页面指定位置
在页面中点击a标签后,要使其跳到页面里面相应的地方,方法很简单,就是在a标签里面href中的内容和你要跳到这个区域的id同名即可,例如: <a href="#ppp" tar ...
- 锚点定位,jquery定位到页面指定位置
jquery锚点定位 $('body,html').animate({scrollTop: $('#ter1').offset().top}, 500);#ter1是你要定位的id对象,500是0.5 ...
- html js点击按钮滚动跳转定位到页面指定位置(DIV)的方法代码
一:通过html锚点实现滚动定位到页面指定位置(DIV): 如果我们要点击实现跳转的地方是一个html锚点,也就是点击一个A标签超链接实现跳转,可以把A标签的href属性直接指向跳转指定位置的d ...
- html页面标记 点击目录跳转到页面相应位置 简易回到顶部
html页面标记 点击目录跳转到页面相应位置 简易回到顶部 参考博客:
- 点击a标签 跳到当前页面指定div
给标签div设一个id值 <div id="aa"><div> a标签抓取id值,点击跳过去 <a href="#aa">& ...
- 一个项目中既有移动端,同时也有PC端的代码,并且 他们的代码分开写的,那么如何实现在手机跳转手机页面,pc点击跳转pc页面
将以下代码放入pc首页即可 <script type="text/javascript"> function mobile_device_detect(url) { v ...
- .net web 点击链接在页面指定位置显示DIV的问题
做了一个网页,放了两个DataList ,一个显示科室,一个显示科室中的人员,由于科室太多,一屏显示不全,为了在页面刷新时记住上次浏览位置,所以给页面加了MaintainScrollPositionO ...
随机推荐
- 脚本语言:Xmas(三)
自从将Xmas的GC换成现在的非迁移式的全局收集器后,最近几个月一直耗在Xmas上面:最明显的改变就是:更彻底地支持了面向对象.更强大的编译器. 所以,本文就来说说,真正的Xmas. 一.目标 一门语 ...
- 亲测可用!!!golang如何在idea中保存时自动进行代码格式化
亲测可用,golang在idea中的代码自动格式化 1.ctrl+alt+s打开设置界面,选择[Plugins] -> [Install JetBrains plugin...] -> 搜 ...
- ShadowBroker释放的NSA工具中Esteemaudit漏洞复现过程
没有时间测试呢,朋友们都成功复现,放上网盘地址:https://github.com/x0rz/EQGRP 近日臭名昭著的方程式组织工具包再次被公开,TheShadowBrokers在steemit. ...
- 《大型网站系统与JAVA中间件实践学习笔记》-1
第一章:分布式系统介绍 定义:分布式系统是一组分布在网络上通过消息传递进行协作的计算机组成系统. 分布式系统的意义 升级单机处理能力的性价比越来越低 单机处理器能力存在瓶颈 处于稳定性和可用性考虑 阿 ...
- GROUP BY语句与HAVING语句的使用
一.GROUP BY GROUP BY语句用来与聚合函数(aggregate functions such as COUNT, SUM, AVG, MIN, or MAX.)联合使用来得到一个或多个列 ...
- Vue.js 实战总结
最近在某个项目中用到了Vue.js,从上手做开发到项目发布,一步步踩了不少坑.本文试图总结过去一个多月使用Vue.js中的一些经验,也算是一点心得体会吧,拿出来与大家分享,欢迎多多交流. Vue.js ...
- Welcome to my Blog
Only English? Oh my god!!! why open live write can't write by Chinese?
- [UWP]不怎么实用的Shape指南:自定义Shape
1. 前言 这篇文章介绍了继承并自定义Shape的方法,不过,恐怕,事实上,100个xaml的程序员99个都不会用到.写出来是因为反正都学了,当作写个笔记. 通过这篇文章,你可以学到如下知识点: 自定 ...
- 瀑布流原生ajax,demo
最近听朋友们说起瀑布流挺多的,自己就去研究下了,一个简单的原生demo,分享给大家... 简单分为三个文档,有详细的注释 img:ajax.php:demo.php 其中img中放入图片 1.jpg: ...
- 基于Spring的Appium配置应用
本文主要是讲述,使用Spring框架,优化Appium的Driver调用,并将写在代码里的大量配置参数定义到配置文件当中,还可灵活的控制调用AndroidDriver还是IOSDriver. Spri ...