摘要:
html: <div class="editor" contenteditable="true"></div> css: .editor{ width: 580px; height: 65px; border: 0px; outline: 0; //设置边框为0; margin-bottom: 5p 阅读全文
摘要:
js 阅读全文
摘要:
可以拖拽的div 阅读全文
摘要:
无标题文档 阅读全文
摘要:
用户名: 密码: ... 阅读全文
摘要:
1、取消选取、防止复制 <body selectStart="return false"> </body> 2、不允许粘贴 <body onpaste="return false"> </body> 3、防止复制 oncopy="return false" 4、防止剪切 oncut="return 阅读全文
摘要:
明天你是否会想起曾经我写的日记 一个人的时候不是不像你 一个人的时候只是怕想你 一个人的时候如果下起了雨 我... 阅读全文
摘要:
hello!marquee the day you went the day! ... 阅读全文
摘要:
1、 window.onload必须等到网页中所有的内容加载完(包含图片)才执行 document.ready网页中所有DOM结构绘制完执行,可能DOM并没有加载完 所有document.ready比window.onload要先执行 2、 window.onload只能有一个 document.r 阅读全文