易截截图软件、单文件、免安装、纯绿色、仅160KB

HTML小技巧

模态对话框点击链接不打开新窗口
方法1:  
  在模态窗口页面里加上:  
  <head>  
  <base   target=_self   >  
  </head>  
  ''<base   target=_self   >  ''放到<head>标签内
 方法2  
  模态窗口里的页面放在frame或iframe里
子窗口用window.showModalDialog()弹出的模式对话框.
父窗口中弹出时:window.showModalDialog('子窗口.aspx',window,'....');
第二个参数用window,这样就把父窗口对象当做参数传递给了子窗口.
子窗口中就可以通过window.dialogArguments来引用父窗口对象.
例子,子窗体关闭的时刷新父窗体:
window.dialogArguments.location.href=window.dialogArguments.location.href;
window.focus();
window.close();
调用主窗口里的函数:
window.dialogArguments.函数名();
detailIframe.location.href = "${hrStaffURL}?method=userDefinedHome&page_id="+id+'&isReadOnly=ReadOnly&staffId=${staffId}&isManager=${isManager}';


相关文档:

JSF+HTML标签总结

*页面的开头
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
<%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm"%>
<%@ tagl ......

struts html:link标签的用法

struts html:link标签的用法(转)
关于<html:link>标签在URI后面传参数的问题
在struts标签<html:link>的page属性指定的URI后面传递参数可以有几种方式:
1.若明确参数名和参数值则直接在URI后输出,
如:<html:link page="/test.do?action=add">add</html:link>
2.对于参数值不确定的,p ......

html初步学习笔记

html 网页描述语言
html的基本框架
<head>                                      //标签头
<javacript>                         &nb ......

HTML元素及控件事件一览表


HTML元素及控件事件一览表
一般事件
事件
浏览器支持
描述
onClick
HTML: 2 | 3 | 3.2 | 4
Browser: IE3 | N2 | O3
鼠标点击事件,多用在某个对象控制的范围内的鼠标点击
onDblClick
HTML: 2 | 3 | 3.2 | 4
Browser: IE4 | N4 | O
鼠标双击事件
onMouseDown
HTML: 2 | 3 | 3.2 | 4
Browser: IE4 | N4 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号