随笔分类 - Jquery
摘要:(function($){ if(!$ || !$.prototype.jquery) throw new ReferenceError('must import jquery'); // 向其原型获取方法 $.fn.extend({ zTree(data,callback){ typeof cal
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>弹出层制作</ti
阅读全文
摘要:<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery 练习</title> <link rel="stylesheet" href="index.css"> <style> .todo-main li
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>window.onload与$(document).ready()</title> </head> <body> <h1>测试window.onload与$(d
阅读全文
摘要:<script src="js/jquery-1.10.1.js" type="text/javascript" charset="utf-8"></script> <script src="js/myLib.js" type="text/javascript"></script> <script
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> 扩展插件</title> <style type="text/css"> * { margin: 0px; } .div1 { position: absolute; width
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>焦点轮播图</title> <style type="text/css"> /*去除内边距,没有链接下划线*/ * { margin: 0; padding: 0; text-de
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> 自定义动画</title> <style type="text/css"> * { margin: 0px; } .div1 { position: absolute; widt
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>淡入淡出</title> </head> <style type="text/css"> * { margin: 0px; } .div1 { position: absolute
阅读全文
摘要:<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title> 事件委托</title> </head> <body> <ul> <li>1111</li> <li>2222</li> <li>3333</li> <li>4444</li>
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> 事件绑定与解绑</title> </head> <style type="text/css"> * { margin: 0px; } .out { position: absol
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" c
阅读全文
摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>文档_增删改</title> </head> <style type="text/css"> * { margin: 0px; } .div1 { position: absolu
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>筛选_查找孩子-父母-兄弟标签</title> </head> <body> <div id="div1" class="box" title="one">class为box的di
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>回到顶部</title> <style> #to_top { width: 30px; height: 40px; font: 14px/20px arial; text-alig
阅读全文
筛选_过滤 1. first() 2. last() 3. eq(index|-index) 4. filter(selector) 5. not(selector) 6. has(selector)
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>筛选_过滤</title> </head> <body> <ul> <li>AAAAA</li> <li title="hello" class="box2">BBBBB</li>
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>元素尺寸</title> </head> <style> div { width: 100px; height: 150px; background: red; padding:
阅读全文

浙公网安备 33010602011771号