jquery实现弹出层遮罩效果的简单实例,代码如下:
<input type="button" value="高级搜索" id="click_test4" />";
var content4 = "<center>高级搜索</center><form action='' method='post' id='formusersupersearch'>"
+ "用户名 : <input type='text' name='username' id='username'>"
+ "<br/><br/>电子邮箱: <input type='text' id='email'/>"
+ "<br/><br/>单位: <input type='text'id='unit'/>"
+ "<br/><br/>电话:<input type='text'id='tel'/> "
+ "<br/><br/>手机: <input type='text'id='mobile'/>"
+ "<br/><input type='button' onclick='usersupersearche()' value='取消'/><input type='button' onclick='usersupersearch()' value='确定'/>"
+ "</form>";
t$('click_test4').onclick = function() {
//其中click_test4是上面的按钮id
//content4为要显示的p上面的内容
tiny.box.show(content4, 0, 350, 250, 0);
};
您可能感兴趣的文章:
如您对本文有疑问或者有任何想说的,请 点击进行留言回复,万千网友为您解惑!
网友评论