10 2011 档案

KISSY中的this
摘要:1 <!DOCTYPE HTML> 2 <html lang="en"> 3 <head> 4 <meta charset="GBK" /> 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 21:00 sirzxj 阅读(302) 评论(0) 推荐(0)

Kissy中 原生domNode 和 node 之间的转换
摘要:1 <!DOCTYPE HTML> 2 <html lang="en"> 3 <head> 4 <meta charset="GBK" /> 5 <title></title> 6 <style type="text/css"> 7 #div2{ 8 background:red; 9 height:300px;10 width:300px;11 margin:300px;12 } 13 </style>14 <script typ. 阅读全文

posted @ 2011-10-23 17:20 sirzxj 阅读(1398) 评论(0) 推荐(0)

KISSY 遍历
摘要: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 阅读(288) 评论(0) 推荐(0)

今天开始学习 Kissy~
摘要: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 阅读(271) 评论(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 阅读(181) 评论(0) 推荐(0)