js
文章平均质量分 69
weixin_38180713
这个作者很懒,什么都没留下…
展开
-
js获得页面当前请求地址
1,设置或获取对象指定的文件名或路径。alert(window.location.pathname)2,设置或获取整个 URL 为字符串。alert(window.location.href);3,设置或获取与 URL 关联的端口号码。alert(window.location.port)4,设置或获取 URL 的协议部分。alert(win原创 2017-04-08 16:02:27 · 3184 阅读 · 0 评论 -
js实现左右滚动
String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> p{posi原创 2017-04-10 13:58:09 · 567 阅读 · 0 评论