移动设备手机网页html5如果需要在移动浏览器中实现拨打电话,调用sms发短信,发送email等功能,移动手机WEB页面(HTML5)Javascript提供的接口是一个好办法。采用url href链接的方式,实现在Safari ios,Android 浏览器,webos浏览器,塞班浏览器,IE,O...
分类:
移动开发 时间:
2015-10-28 18:51:25
阅读次数:
306
---恢复内容开始---1.location.href.....(1)self.loction.href="/url" window.location.href="/url" 以上两个用法相同均为在当前页面打开URL页面(2)this.location.href="/url" 当前页面打开URL(3...
分类:
Web程序 时间:
2015-10-28 16:58:19
阅读次数:
188
1.location.hrefself.location.href:window.location.href='url':重定向页面并刷新,而window.open('url')只表示打开页面,并不刷新this.location.href:location.href:以上四种都为本页面跳转paren...
分类:
Web程序 时间:
2015-10-27 23:30:38
阅读次数:
169
1.${SESSION_USER_V2}会从大到小查找作用域中的attributePageContextPageScopeservletRequestRequestScopehttpSessionSessionScopeApplication/servletContextApplicationScope2.${param.name}实际上是相当于request.getParameter("name")方法3.空连接href="#"方法:其实也是空..
分类:
编程语言 时间:
2015-10-25 22:48:55
阅读次数:
303
作者:张路链接:http://www.zhihu.com/question/19708137/answer/18923770来源:知乎src :source的简写,表示“源”,可以理解为【引用一个资源】,就好像@贺师俊所说,用来代替自己本身的内容。如img、script、iframe。它们如果不写s...
分类:
Web程序 时间:
2015-10-25 20:57:00
阅读次数:
250
a href="#"> 点击链接后,页面会向上滚到页首,# 默认锚点为 #TOP 点击链接后,页面不动,只打开链接 作用同上,不同浏览器会有差异。点击链接后,不想使页面滚到页首,就用href="javascript:void(0)",不要用href="#",return false也有类似作用详解h...
分类:
编程语言 时间:
2015-10-23 16:17:37
阅读次数:
151
Here‘s the error code map: lang.errMsg.login = { ‘-1‘: { msg: ‘系统错误,请您稍后再试,<a href="http://passport.baidu.com/v2/?ucenterfeedback#{urldata}#login" ?target="_blank">问题反馈</a>‘, field:...
分类:
其他好文 时间:
2015-10-23 14:51:48
阅读次数:
1378
如果alert()之后再进行跳转本页,按以下方法你将等不到alert(),浏览器就本身刷新本页面了 想要弹出alert()后再跳转就用window.location.href="http://baidu.com"; ,改成下面方法 就OK了。 alert("你的资料已经录入!"); window.l...
分类:
Web程序 时间:
2015-10-23 08:58:04
阅读次数:
146
有3个html页面(1.html, 2.html, 3.html)。进系统默认的是1.html ,当我进入2.html的时候, 2.html里面用window.location.replace("3.html");与用window.location.href("3.html");从用户界面来看是没有...
一,基本语法 //1,css引入方法 ????
<link?rel="stylesheet"?type="text/css"?href="styles.css"> 2,css书写格式 h1,h2{
???color:blue;font_size
} 二,派生选择器: ??????? 根据元素其位...
分类:
Web程序 时间:
2015-10-21 12:50:18
阅读次数:
257