jquery实现弹出层遮罩效果的简单实例

 更新时间:2014年03月03日 09:18:37   作者:  
这篇文章主要介绍了jquery实现弹出层遮罩效果的简单实例。需要的朋友可以过来参考下,希望对大家有所帮助
复制代码 代码如下:

<input type="button" value="高级搜索" id="click_test4" />";
var content4 = "<center>高级搜索</center><form action='' method='post' id='formUserSuperSearch'>"
   + "用户名 :&nbsp;&nbsp;<input type='text' name='username' id='username'>"
   + "<br/><br/>电子邮箱:&nbsp;<input type='text' id='email'/>"
   + "<br/><br/>单位:&nbsp;<input type='text'id='unit'/>"
   + "<br/><br/>电话:<input type='text'id='tel'/>&nbsp;"
   + "<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为要显示的div上面的内容
  TINY.box.show(content4, 0, 350, 250, 0);
 };

另外支持的js文件下载地址:点击下载

相关文章

最新评论