///////////超链接解决头部fixed问题$('a[href*=#]').click(function () { var top1 = $(".header").height(), top2 = $(".navigation").height(),l=top1+top2; if ...
分类:
其他好文 时间:
2015-04-28 13:51:52
阅读次数:
122
{% macro paging(page, max, url, num = 5) %}{% if page max %}{% set page = max %}{% endif %}{% set jianju = (num / 2)|round %} 首页 = 2 %}href="{{...
分类:
其他好文 时间:
2015-04-28 13:48:37
阅读次数:
113
1 点击传值 转载:http://www.321js.com/html/article/17338.htmlocation.href='ping.html#chen=陈建平‘ 取锚点值 location.hash 结果是:#chen=陈建平 location.href='ping.html?...
分类:
其他好文 时间:
2015-04-28 11:14:57
阅读次数:
100
//传递参数var id = columnData.id;var companyname = encodeURI(columnData.companyname);var linename = encodeURI(columnData.linename);text = text + "修改 ";/**...
分类:
Web程序 时间:
2015-04-27 14:44:03
阅读次数:
321
首先我的目录是在marvin的基础上二次开发的.然后我发现锚点图和目录都在同一个图上面,所以就一起用了.返回顶部锚点:我用以前旧版bilibili的那个函数.可以做到平滑滚动到页面,并且在触顶前不能向下滚屏.具体的看我参考链接.当然因为涉及到js要申请权限,简单的话a标签href用#top当然可以,...
分类:
移动开发 时间:
2015-04-26 20:58:05
阅读次数:
246
实现以下效果 点"跳转到demo"后直接跳转到demo示例,并且带上查询条件,如下: 由于jeecg使用的是easyui,所以不能直接用类似于<a href="xxxx.do?xxx">这样的方式来跳转了,但还是有办法做到的,首先在\plug-in\...
分类:
其他好文 时间:
2015-04-25 19:57:26
阅读次数:
149
比如说当一个页面里面有一个这样的标签 name为hello的锚点
这个标签可以称之为一个"锚点"
当然页面上还有这两个超链接标签。
回到name为hello的锚点
回到顶层
好那么现在开始讲解 : href="#hello" 的时该标签可以回到页面内一个name属性为hello的一个标签(name="hello")。
当href="#"的时候该超链接标签可以回到页面顶端...
分类:
Web程序 时间:
2015-04-25 09:25:22
阅读次数:
134
1.超链接Welcome等效于js代码window.location.href="http://www.jb51.net"; //在同当前窗口中打开窗口2.超链接Welcome等效于js代码window.open("http://www.jb51.net"); //在另外新建窗口中打开窗口原文地址:...
分类:
Web程序 时间:
2015-04-24 10:27:31
阅读次数:
153
var urlMatcher = $urlMatcherFactory.compile(config.url); var url = $urlRouter.href(urlMatcher, { query:123, stepIndex: 'kkkkdfasdfasd' }); ...
分类:
Web程序 时间:
2015-04-23 17:13:44
阅读次数:
414
1.在原来的窗体中直接跳转用window.location.href="你所要跳转的页面";2、在新窗体中打开页面用:window.open('你所要跳转的页面');window.history.back(-1);返回上一页3、一些用法按钮式:链接式:返回上一页">返回上一页直接跳转式:开新窗口:1...
分类:
Web程序 时间:
2015-04-23 15:00:22
阅读次数:
182