Jquery implements a simple example of the pop up layer mask effect
- 2020-03-30 02:10:59
- OfStack
<input type="button" value=" Advanced search " id="click_test4" />";
var content4 = "<center> Advanced search </center><form action='' method='post' id='formUserSuperSearch'>"
+ " The user name : <input type='text' name='username' id='username'>"
+ "<br/><br/> email : <input type='text' id='email'/>"
+ "<br/><br/> unit : <input type='text'id='unit'/>"
+ "<br/><br/> Telephone: <input type='text'id='tel'/> "
+ "<br/><br/> Mobile phone : <input type='text'id='mobile'/>"
+ "<br/><input type='button' onClick='UserSuperSearche()' value=' cancel '/><input type='button' onclick='UserSuperSearch()' value=' determine '/>"
+ "</form>";
T$('click_test4').onclick = function() {
//Where click_test4 is the button id above
//Content4 is the content above the div to be displayed
TINY.box.show(content4, 0, 350, 250, 0);
};
Also supported js file download address: (link: http://xiazai.jb51.net/201403/tinybox (jb51.net). Rar)