文章分类 - js
摘要:<!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title></title> <meta charset="utf-8"> <style> #mybody
阅读全文
摘要:html是一门超文本标记语言; document对象代表整个html文档,可用来访问页面中的所有元素; body代表document的主体子对象,除浏览器头部,页面中能够看到的内容都属于body中的内容; window代表浏览器中打开的窗口,代表运行环境。 在javascript中: window对
阅读全文
摘要:1、var myDate = new Date();Date() 返回当日的日期和时间。 getDate() 从 Date 对象返回一个月中的某一天 (1 ~ 31)。getDay() 从 Date 对象返回一周中的某一天 (0 ~ 6)。getMonth() 从 Date 对象返回月份 (0 ~
阅读全文
摘要:http://morrisjs.github.io/morris.js/
阅读全文
摘要:百度<script type="text/plain" id="editor" name="GachaAnnunciate[content]"> <?php// $model->content ?></script> <!--<script src="/js/ueditor/ueditor.conf
阅读全文
摘要:转:http://www.jq22.com/jquery-info19906<script type="text/javascript"> $('#gachanewuserlottery-box_list').tagsInput({ //'autocomplete_url': 'tags.html'
阅读全文
摘要:在qq平台http://connect.qq.com/申请 准备: 1、需要外网能访问的空间,国内可能需要备案 2、需要填写在index.html里加入域名相关的验证吗 3、回调地址可以是多个 创建:qqlogin.php require_once("./Connect2.1/API/qqConne
阅读全文
摘要:转 :http://layer.layui.com/
阅读全文
摘要:function sign_url(){ window.open('');}function register_url(){ window.open(');} href="javascript:register_url()"
阅读全文
摘要:转发 http://www.ruanyifeng.com/blog/2012/05/responsive_web_design.html
阅读全文
摘要:abort 当用户中断下载图像时触发。activate 当对象设置为活动元素时触发。afterprint 对象所关联的文档打印或打印预览后立即在对象上触发。afterupdate 当成功更新数据源对象中的关联对象后在数据绑定对象上触发。beforeactivate 对象要被设置为当前元素前立即触发。
阅读全文
摘要:localStorage作为客户端浏览器持久化存储方案 这个是浏览器隔离的,每个浏览器都会把localStorage存储在自己的UserData中,如chrome一般就是 C:\Users\你的计算机名\AppData\Local\Google\Chrome\User Data\Default\Lo
阅读全文
摘要:document.domain = 'unipus.cn';//设置成同一个域名 function iframeLoad() { debugger document.getElementByIdx_x_x("myiframe").height=0; document.getElementByIdx_
阅读全文
摘要:header() http://libo93122.blog.163.com/blog/static/1221893820117125057632/
阅读全文
摘要:<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script src="/js/jquery-1.11.2.min.js" type="text/javascript"></s
阅读全文

浙公网安备 33010602011771号