11 2015 档案

摘要:设置或获取对象指定的文件名或路径。alert(window.location.pathname)设置或获取整个 URL 为字符串。alert(window.location.href);设置或获取与 URL 关联的端口号码。alert(window.location.port)设置或获取 URL 的... 阅读全文
posted @ 2015-11-26 12:06 微客鸟窝 阅读(183) 评论(0) 推荐(0)
摘要:var prevurl = document.referrer; var page = prevurl.split('.html'); var num = page[0].lastIndexOf('/'); var tag= page[0].substring(num+1); i... 阅读全文
posted @ 2015-11-24 22:19 微客鸟窝 阅读(236) 评论(0) 推荐(0)
摘要:$('#btn1').click(function(){ artDialog({title:'图片查看', content:'', fixed:true}); return false; }); $('#btn2').click(function(){ artDialog({... 阅读全文
posted @ 2015-11-24 21:49 微客鸟窝 阅读(520) 评论(0) 推荐(0)
摘要:1.初始化2.设置变量3.执行并获取结果4.释放cURL句柄// 1. 初始化$ch = curl_init();// 2. 设置选项,包括URLcurl_setopt($ch, CURLOPT_URL, "http://www.nettuts.com");curl_setopt($ch, CURL... 阅读全文
posted @ 2015-11-18 15:19 微客鸟窝 阅读(337) 评论(0) 推荐(0)
摘要:将配置文件中改:'配置值' 'URL_MODEL'=>'2', //去掉url中index.php 'MODULE_ALLOW_LIST' => array('Home','Admin','User'), //可访问模块 'DEFAULT_MODULE' => 'Home', //默认模块); 阅读全文
posted @ 2015-11-07 14:28 微客鸟窝 阅读(558) 评论(0) 推荐(0)
摘要:$('body').on('click','.edit', function() { var id = $(this).parent().attr('id'); var status = $(".usercontent").attr('status'); if(status == 1... 阅读全文
posted @ 2015-11-06 11:31 微客鸟窝 阅读(319) 评论(0) 推荐(0)

/* 看板娘 */