摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>数组操作</title></head><body> <script type="text/javascript"> /*var _arr = [1,2,3,4,5, 阅读全文
posted @ 2016-08-03 21:53 河北-齐哥 阅读(105) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>阶乘</title></head><body> <script type="text/javascript"> //求1+1/2 +1/3 +1/n functio 阅读全文
posted @ 2016-08-03 16:14 河北-齐哥 阅读(214) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> #parent{ width: 400px; height: 20px; back 阅读全文
posted @ 2016-04-21 20:09 河北-齐哥 阅读(1254) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head lang="en"><meta charset="UTF-8"><title></title><style>.box{border: 3px solid yellow; position: absolute;}#div1{width: 100px 阅读全文
posted @ 2016-04-20 18:43 河北-齐哥 阅读(159) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> * {margin: 0; padding: 0;} #ul1 { width: 阅读全文
posted @ 2016-04-19 23:56 河北-齐哥 阅读(177) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> body{margin: 0;} #div1{width: 100%; posit 阅读全文
posted @ 2016-04-19 19:03 河北-齐哥 阅读(142) 评论(0) 推荐(0) 编辑
摘要: function myAddEvent(obj, sEv, fn) //事件绑定{ if(obj.attachEvent) { obj.attachEvent('on' + sEv, function(){ if(false==fn.call(obj)) { event.cancelBubble=t 阅读全文
posted @ 2016-04-14 19:52 河北-齐哥 阅读(316) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script type="text/javascript" src="jquery-1.7.2.min.js"></script 阅读全文
posted @ 2016-04-08 17:32 河北-齐哥 阅读(664) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet" type="text/css" href="reset.css"> <script 阅读全文
posted @ 2016-04-06 11:44 河北-齐哥 阅读(201) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script type="text/javascript" src="http://libs.baidu.com/jquery/ 阅读全文
posted @ 2016-04-06 11:41 河北-齐哥 阅读(271) 评论(0) 推荐(0) 编辑