PageRenderTime 50ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/1.2/docs/html/demo/component/switchable/index.html

https://github.com/kissyteam/kissyteam.github.com
HTML | 277 lines | 218 code | 28 blank | 31 comment | 0 complexity | 93c4d28aa781a0d29d13137bd933f1c6 MD5 | raw file
Possible License(s): Apache-2.0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <title>Switchable 使用示例 &mdash; KISSY v1.2 Documentation</title>
  6. <link rel="stylesheet" href="http://a.tbcdn.cn/s/kissy/1.2.0/css/reset.css"/>
  7. <link rel="stylesheet" href="../../../_static/kissy.css"/>
  8. <link rel="stylesheet" href="../../../_static/pygments.css"/>
  9. <link rel="shortcut icon" href="http://a.tbcdn.cn/s/kissy/favicon.ico" type="image/x-icon" />
  10. <link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>
  11. <script>
  12. var DOCUMENTATION_OPTIONS = {
  13. URL_ROOT: '../../../',
  14. VERSION: '',
  15. COLLAPSE_INDEX: false,
  16. FILE_SUFFIX: '.html',
  17. HAS_SOURCE: true
  18. };
  19. (function(){
  20. var js=[],h=window.location.href,d=document;
  21. js.push("../../../_static/jquery.js");
  22. js.push("../../../_static/underscore.js");
  23. js.push("../../../_static/doctools.js");
  24. for(var i=0;i<js.length;i++){
  25. var j=js[i];
  26. if(h.indexOf("localhost/kissy_git/")==-1&&j.indexOf("jquery.js")!=-1){
  27. d.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"><\/script>');
  28. }else{
  29. d.write('<script type="text/javascript" src="'+ j +'"><\/script>');
  30. }
  31. }
  32. })();
  33. </script>
  34. <script>
  35. var _gaq = _gaq || [];
  36. _gaq.push(['_setAccount', 'UA-31470541-1']);
  37. _gaq.push(['_trackPageview']);
  38. (function() {
  39. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  40. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  41. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  42. })();
  43. </script>
  44. </head>
  45. <body><div id="header">
  46. <h1 class="logo"><a alt="KISSY" href="http://docs.kissyui.com">
  47. <img src="http://a.tbcdn.cn/s/kissy/logo.png" />
  48. </a></h1>
  49. <ul class="navigation">
  50. <li><a href="http://docs.kissyui.com">首页</a></li>
  51. <li><a href="../../../../html/tutorials/index.html" >Tutorials</a></li>
  52. <li><a href="../../../../html/api/index.html" >API</a></li>
  53. <li><a href="../../../../html/demo/index.html" >DEMO</a></li>
  54. <li><a href="https://groups.google.com/group/kissy-ui" >Google Group</a></li>
  55. <li><a href="http://www.github.com/kissyteam" >Source Code</a></li>
  56. <li><a href="http://docs.kissyui.com/kissy/docs/" >English API Docs</a></li>
  57. </ul>
  58. <div id="searchbox" style="display: none" class="searchbox">
  59. <form class="search" action="../../../search.html" method="get">
  60. <input type="text" name="q" size="28" class="ipt"/>
  61. <input type="submit" value="Go" class="btn"/>
  62. <input type="hidden" name="check_keywords" value="yes" />
  63. <input type="hidden" name="area" value="default" />
  64. </form>
  65. </div>
  66. <script type="text/javascript">$('#searchbox').show(0);</script>
  67. </div>
  68. <div id="content">
  69. <div class="layout grid-s6m0">
  70. <div class="col-main">
  71. <div class="main-wrap">
  72. <div class='related'>
  73. <h3>Navigation</h3>
  74. <ul>
  75. <li class="right" style="margin-right: 10px">
  76. <a href="../../../genindex.html" title="General Index"
  77. accesskey="I">index</a></li>
  78. <li class="right" >
  79. <a href="../../../py-modindex.html" title="Python Module Index"
  80. >modules</a> | </li>
  81. <li class="right" >
  82. <a href="demo1.html" title="使用基本的 Switchable"
  83. accesskey="N">next</a> | </li>
  84. <li class="right" >
  85. <a href="../resizable/index.html" title="Resizable 使用示例"
  86. accesskey="P">previous</a> | </li>
  87. <li><a href="../../../index.html">KISSY v1.2 Documentation</a> &#187; </li>
  88. <li><a href="../../index.html" >Demos</a> &#187; </li>
  89. <li><a href="../index.html" accesskey="U">Component</a> &#187; </li>
  90. </ul>
  91. </div>
  92. <div class="section" id="switchable">
  93. <span id="switchable-demo"></span><h1>Switchable 使用示例<a class="headerlink" href="#switchable" title="Permalink to this headline"></a></h1>
  94. <div class="section" id="class">
  95. <h2>Class<a class="headerlink" href="#class" title="Permalink to this headline"></a></h2>
  96. <blockquote>
  97. <div><ul class="simple">
  98. <li><a class="reference internal" href="../../../api/component/switchable/switchable.html#switchable.Switchable" title="switchable.Switchable"><tt class="xref py py-class docutils literal"><span class="pre">Switchable</span></tt></a></li>
  99. </ul>
  100. </div></blockquote>
  101. </div>
  102. <div class="section" id="demos">
  103. <h2>Demos<a class="headerlink" href="#demos" title="Permalink to this headline"></a></h2>
  104. <blockquote>
  105. <div><div class="toctree-wrapper compound">
  106. <ul>
  107. <li class="toctree-l1"><a class="reference internal" href="demo1.html">使用基本的 Switchable</a><ul class="simple">
  108. </ul>
  109. </li>
  110. <li class="toctree-l1"><a class="reference internal" href="demo2.html">使用普通标签页</a><ul class="simple">
  111. </ul>
  112. </li>
  113. <li class="toctree-l1"><a class="reference internal" href="demo3.html">土豆今日焦点</a><ul class="simple">
  114. </ul>
  115. </li>
  116. <li class="toctree-l1"><a class="reference internal" href="demo4.html">首页卡盘</a><ul class="simple">
  117. </ul>
  118. </li>
  119. <li class="toctree-l1"><a class="reference internal" href="demo5.html">滚动新闻条</a><ul class="simple">
  120. </ul>
  121. </li>
  122. <li class="toctree-l1"><a class="reference internal" href="demo6.html">普通旋转木马</a><ul class="simple">
  123. </ul>
  124. </li>
  125. <li class="toctree-l1"><a class="reference internal" href="demo7.html">旋转木马</a><ul class="simple">
  126. </ul>
  127. </li>
  128. <li class="toctree-l1"><a class="reference internal" href="demo8.html">手风琴效果</a><ul class="simple">
  129. </ul>
  130. </li>
  131. <li class="toctree-l1"><a class="reference internal" href="demo9.html">手风琴效果</a><ul class="simple">
  132. </ul>
  133. </li>
  134. </ul>
  135. </div>
  136. </div></blockquote>
  137. </div>
  138. </div>
  139. <div class='related'>
  140. <h3>Navigation</h3>
  141. <ul>
  142. <li class="right" style="margin-right: 10px">
  143. <a href="../../../genindex.html" title="General Index"
  144. accesskey="I">index</a></li>
  145. <li class="right" >
  146. <a href="../../../py-modindex.html" title="Python Module Index"
  147. >modules</a> | </li>
  148. <li class="right" >
  149. <a href="demo1.html" title="使用基本的 Switchable"
  150. accesskey="N">next</a> | </li>
  151. <li class="right" >
  152. <a href="../resizable/index.html" title="Resizable 使用示例"
  153. accesskey="P">previous</a> | </li>
  154. <li><a href="../../../index.html">KISSY v1.2 Documentation</a> &#187; </li>
  155. <li><a href="../../index.html" >Demos</a> &#187; </li>
  156. <li><a href="../index.html" accesskey="U">Component</a> &#187; </li>
  157. </ul>
  158. </div>
  159. <div id="disqus_thread"></div>
  160. <script>
  161. if((window.location.hostname.indexOf("kissyui.com")!=-1 )&& window.localStorage.getItem("kissy-commment")!="0"){
  162. /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
  163. var disqus_shortname = 'kissy-docs'; // required: replace example with your forum shortname
  164. // The following are highly recommended additional parameters. Remove the slashes in front to use.
  165. //var disqus_identifier = '/anim';
  166. //var disqus_url = window.location;
  167. /* * * DON'T EDIT BELOW THIS LINE * * */
  168. (function() {
  169. var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
  170. dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
  171. (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  172. })();
  173. }
  174. </script>
  175. <!--<div id="google-search-box">
  176. <div id="cse" style="width: 100%;">Loading</div>
  177. <script>
  178. if(window.location.hostname.indexOf("kissyui.com")!=-1){
  179. document.write('<script src="http://www.google.com/jsapi" type="text/javascript"><'+'/script>');
  180. }
  181. </script>
  182. <script>
  183. if(window.location.hostname.indexOf("kissyui.com")!=-1){
  184. google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.MINIMALIST});
  185. google.setOnLoadCallback(function() {
  186. var customSearchControl = new google.search.CustomSearchControl('012347804910294994683:n4uzb24gqdm');
  187. customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
  188. customSearchControl.draw('cse');
  189. }, true);
  190. }
  191. </script>
  192. </div>-->
  193. </div>
  194. </div>
  195. <div class="col-sub"><ul class="s-box demo-toctree">
  196. <h2 class="s-box-hd">Seed</h2>
  197. <ul class="s-box-bd">
  198. <li><a href="../../seed/loader/index.html">loader</a></li>
  199. <li><a href="../../seed/lang/index.html">lang</a></li>
  200. <!--<li><a href="../../seed/kissy/index.html">kissy</a></li>
  201. <li><a href="../../seed/web/index.html">web</a></li>-->
  202. </ul>
  203. </ul>
  204. <ul class="s-box core-toctree">
  205. <h2 class="s-box-hd">Core</h2>
  206. <ul class="s-box-bd">
  207. <!--<li><a href="../../core/ua/index.html">ua</a></li>
  208. <li><a href="../../core/dom/index.html">DOM</a></li>
  209. <li><a href="../../core/event/index.html">event</a></li>
  210. <li><a href="../../core/node/index.html">node</a></li>
  211. <li><a href="../../core/json/index.html">json</a></li>
  212. <li><a href="../../core/ajax/index.html">ajax</a></li>
  213. <li><a href="../../core/cookie/index.html">cookie</a></li>
  214. <li><a href="../../core/base/index.html">base</a></li>-->
  215. <li><a href="../../core/anim/index.html">anim</a></li>
  216. </ul>
  217. </ul>
  218. <ul class="s-box component-toctree">
  219. <h2 class="s-box-hd">Component</h2>
  220. <ul class="s-box-bd">
  221. <li><a href="../mvc/index.html">mvc</a></li>
  222. <!--<li><a href="https://github.com/jquery/sizzle/wiki/Sizzle-Home">sizzle</a></li>
  223. <li><a href="../template/index.html">template</a></li>-->
  224. <li><a href="../datalazyload/index.html">datalazyload</a></li>
  225. <!--<li><a href="../flash/index.html">flash</a></li>-->
  226. <li><a href="../dd/index.html">dd</a></li>
  227. <li><a href="../resizable/index.html">resizable</a></li>
  228. <li><a href="#">switchable</a></li>
  229. <li><a href="../suggest/index.html">suggest</a></li>
  230. <li><a href="../calendar/index.html">calendar</a></li>
  231. <li><a href="../imagezoom/index.html">imagezoom</a></li>
  232. <li><a href="../overlay/index.html">overlay</a></li>
  233. <li><a href="../button/index.html">button</a></li>
  234. <li><a href="../menu/index.html">menu</a></li>
  235. <li><a href="../menubutton/index.html">menubutton</a></li>
  236. <li><a href="../tree/index.html">tree</a></li>
  237. <li><a href="../waterfall/index.html">waterfall</a></li>
  238. <li><a href="http://docs.kissyui.com/kissy/src/validation/demo/" target="_blank">validation</a></li>
  239. <li><a href="../editor/index.html">editor</a></li>
  240. </ul>
  241. </ul>
  242. </div>
  243. </div>
  244. </div>
  245. <div id="footer">
  246. &copy; Copyright 2010~2012, KISSY Team. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>
  247. </div>
  248. </body>
  249. </html>