特效描述:利用jquery实现 弹出 注册框。利用jquery实现弹出注册框
代码结构
1. 引入CSS
2. 引入JS
3. HTML代码
$(document).ready(function() {
$("#login").click(function(){
$.XYTipsWindow({
___title:"登录",
___content:"iframe:login.html",
___width:"460",
___height:"150",
___showbg:true,
___drag:"___boxTitle"
});
});
$("#reg").click(function(){
$.XYTipsWindow({
___title:"注册",
___content:"iframe:reg.html",
___width:"460",
___height:"450",
___showbg:true,
___drag:"___boxTitle"
});
});
})
登录
注册