07 2015 档案

摘要:1 var url = document.URL; 2 var a = url.split("="); 3 4 if(a[1]){ 5 return options.fn(this); 6 }else{ 7 return options.inverse(this); 8 } $(function(){ if(getUrlParam... 阅读全文
posted @ 2015-07-30 11:33 微客鸟窝 阅读(205) 评论(0) 推荐(0)
摘要:1 2 高亮:3 4 5 //jquery:6 7 var light = $("[name='light']").is(':checked');8 alert(light);弹出 true/false启用关闭var status = $("[name='status']:c... 阅读全文
posted @ 2015-07-27 13:59 微客鸟窝 阅读(182) 评论(0) 推荐(0)
摘要:setcookie('username',$user,time()+3600*24); //cookie赋值 public function login(){ //cookie 使用 if($_COOKIE['user']){ $this->assign('user',$_CO... 阅读全文
posted @ 2015-07-23 11:51 微客鸟窝 阅读(263) 评论(0) 推荐(0)
摘要:$(document).live('click',function(){ $('.emails').hide(); }); 此代码为点击空白处,'emails',标签隐藏。 阅读全文
posted @ 2015-07-22 14:04 微客鸟窝 阅读(1258) 评论(0) 推荐(0)

/* 看板娘 */