摘要: 1 <!DOCTYPE HTML> 2 <html lang="en"> 3 <head> 4 <meta charset="GBK" /> 5 <title></title> 6 <style type="text/css"> 7 </style> 8 <script type="text/javascript" src="kissy.js"></script> 9 < 阅读全文
posted @ 2011-10-23 16:28 sirzxj 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE HTML> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title></title> 6 <script type="text/javascript" src="kissy.js"></script> 7 <script type="text/javascript"> 8 KISSY.ready(f 阅读全文
posted @ 2011-10-23 13:26 sirzxj 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1 var list = [{id:1,name:"张三",head:"a.gif"},{id:2,name:"李四",head:"b.gif"}]; 2 var template='<div id="person$id"><span class="name">$name</span><img src="$head" alt="" class="head" /> 阅读全文
posted @ 2011-10-07 16:59 sirzxj 阅读(172) 评论(0) 推荐(0) 编辑
摘要: color:blue\0; /*ie8*/*+color:yellow; /*ie7*/_color:red; /*ie6*/ 阅读全文
posted @ 2011-09-13 09:59 sirzxj 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 <!--[if lte IE 9]> 2 <style type="text/css"> 3 header,nav,aside,menu,figure,article,time,footer{display:block;} 4 </style> 5 <script> 6 (function(){ 7 var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,hgrou 阅读全文
posted @ 2011-09-08 09:56 sirzxj 阅读(157) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="gbk" /> <title>div</title> <style type="text/css"> *{margin:0;padding:0;} ul,li{list-style-type:none;} #ul{height:20px; position:absolute; bottom:30px; right:50px;} #ul li{width:20px; margin-lef 阅读全文
posted @ 2011-08-14 01:18 sirzxj 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 3 <html> 4 <head> 5 <title></title> 6 <style type="text/css"> 7 *{margin:0;padding:0;} 8 ul,li{list-style-type:none;} 9 #ul{height:50px; margin:200px;}10 #ul li11 {12 width:50px;13 float:left;14 ... 阅读全文
posted @ 2011-08-13 15:38 sirzxj 阅读(184) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> function call1() { this.addr = "china"; this.getAddr = function () { return this.addr; } } function call2() { this.addr = "zhejiang"; this.setAddr = function (addr) { this.addr = addr; ... 阅读全文
posted @ 2011-08-06 13:46 sirzxj 阅读(148) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <style> *{margin:0;padding:0;} #right li { height:30px; width:100%; list-style-type:none; } </style> </head> <body> <textarea id="t" cols=... 阅读全文
posted @ 2011-08-01 12:57 sirzxj 阅读(149) 评论(0) 推荐(0) 编辑
摘要: View Code <!DOCTYPE html><html><head> <title></title> <style> *{margin:0;padding:0; } #content{ width:960px; margin:0 auto; height:30px; border:solid 1px Red; background:red; } #floatTest{ background:Yellow; border:solid 1px Red; height:50px; width:200px; z-index: 阅读全文
posted @ 2011-07-27 14:06 sirzxj 阅读(162) 评论(0) 推荐(0) 编辑