/1.2/docs/html/demo/component/switchable/index.html
HTML | 277 lines | 218 code | 28 blank | 31 comment | 0 complexity | 93c4d28aa781a0d29d13137bd933f1c6 MD5 | raw file
Possible License(s): Apache-2.0
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <title>Switchable 使用示例 — KISSY v1.2 Documentation</title>
- <link rel="stylesheet" href="http://a.tbcdn.cn/s/kissy/1.2.0/css/reset.css"/>
- <link rel="stylesheet" href="../../../_static/kissy.css"/>
- <link rel="stylesheet" href="../../../_static/pygments.css"/>
- <link rel="shortcut icon" href="http://a.tbcdn.cn/s/kissy/favicon.ico" type="image/x-icon" />
- <link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>
- <script>
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../../../',
- VERSION: '',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- (function(){
- var js=[],h=window.location.href,d=document;
- js.push("../../../_static/jquery.js");
- js.push("../../../_static/underscore.js");
- js.push("../../../_static/doctools.js");
- for(var i=0;i<js.length;i++){
- var j=js[i];
- if(h.indexOf("localhost/kissy_git/")==-1&&j.indexOf("jquery.js")!=-1){
- d.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"><\/script>');
- }else{
- d.write('<script type="text/javascript" src="'+ j +'"><\/script>');
- }
- }
- })();
- </script>
- <script>
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-31470541-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </head>
- <body><div id="header">
- <h1 class="logo"><a alt="KISSY" href="http://docs.kissyui.com">
- <img src="http://a.tbcdn.cn/s/kissy/logo.png" />
- </a></h1>
- <ul class="navigation">
- <li><a href="http://docs.kissyui.com">首页</a></li>
- <li><a href="../../../../html/tutorials/index.html" >Tutorials</a></li>
- <li><a href="../../../../html/api/index.html" >API</a></li>
- <li><a href="../../../../html/demo/index.html" >DEMO</a></li>
- <li><a href="https://groups.google.com/group/kissy-ui" >Google Group</a></li>
- <li><a href="http://www.github.com/kissyteam" >Source Code</a></li>
- <li><a href="http://docs.kissyui.com/kissy/docs/" >English API Docs</a></li>
- </ul>
- <div id="searchbox" style="display: none" class="searchbox">
- <form class="search" action="../../../search.html" method="get">
- <input type="text" name="q" size="28" class="ipt"/>
- <input type="submit" value="Go" class="btn"/>
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- <div id="content">
- <div class="layout grid-s6m0">
- <div class="col-main">
- <div class="main-wrap">
-
- <div class='related'>
- <h3>Navigation</h3>
-
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../../../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../../../py-modindex.html" title="Python Module Index"
- >modules</a> | </li>
- <li class="right" >
- <a href="demo1.html" title="使用基本的 Switchable"
- accesskey="N">next</a> | </li>
- <li class="right" >
- <a href="../resizable/index.html" title="Resizable 使用示例"
- accesskey="P">previous</a> | </li>
- <li><a href="../../../index.html">KISSY v1.2 Documentation</a> » </li>
- <li><a href="../../index.html" >Demos</a> » </li>
- <li><a href="../index.html" accesskey="U">Component</a> » </li>
- </ul>
- </div>
-
- <div class="section" id="switchable">
- <span id="switchable-demo"></span><h1>Switchable 使用示例<a class="headerlink" href="#switchable" title="Permalink to this headline">¶</a></h1>
- <div class="section" id="class">
- <h2>Class<a class="headerlink" href="#class" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><ul class="simple">
- <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>
- </ul>
- </div></blockquote>
- </div>
- <div class="section" id="demos">
- <h2>Demos<a class="headerlink" href="#demos" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><div class="toctree-wrapper compound">
- <ul>
- <li class="toctree-l1"><a class="reference internal" href="demo1.html">使用基本的 Switchable</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo2.html">使用普通标签页</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo3.html">土豆今日焦点</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo4.html">首页卡盘</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo5.html">滚动新闻条</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo6.html">普通旋转木马</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo7.html">旋转木马(二)</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo8.html">手风琴效果</a><ul class="simple">
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="demo9.html">手风琴效果(二)</a><ul class="simple">
- </ul>
- </li>
- </ul>
- </div>
- </div></blockquote>
- </div>
- </div>
-
- <div class='related'>
- <h3>Navigation</h3>
-
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../../../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../../../py-modindex.html" title="Python Module Index"
- >modules</a> | </li>
- <li class="right" >
- <a href="demo1.html" title="使用基本的 Switchable"
- accesskey="N">next</a> | </li>
- <li class="right" >
- <a href="../resizable/index.html" title="Resizable 使用示例"
- accesskey="P">previous</a> | </li>
- <li><a href="../../../index.html">KISSY v1.2 Documentation</a> » </li>
- <li><a href="../../index.html" >Demos</a> » </li>
- <li><a href="../index.html" accesskey="U">Component</a> » </li>
- </ul>
- </div>
- <div id="disqus_thread"></div>
- <script>
- if((window.location.hostname.indexOf("kissyui.com")!=-1 )&& window.localStorage.getItem("kissy-commment")!="0"){
- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
- var disqus_shortname = 'kissy-docs'; // required: replace example with your forum shortname
- // The following are highly recommended additional parameters. Remove the slashes in front to use.
- //var disqus_identifier = '/anim';
- //var disqus_url = window.location;
- /* * * DON'T EDIT BELOW THIS LINE * * */
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
- }
- </script>
- <!--<div id="google-search-box">
- <div id="cse" style="width: 100%;">Loading</div>
- <script>
- if(window.location.hostname.indexOf("kissyui.com")!=-1){
- document.write('<script src="http://www.google.com/jsapi" type="text/javascript"><'+'/script>');
- }
- </script>
- <script>
- if(window.location.hostname.indexOf("kissyui.com")!=-1){
- google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.MINIMALIST});
- google.setOnLoadCallback(function() {
- var customSearchControl = new google.search.CustomSearchControl('012347804910294994683:n4uzb24gqdm');
- customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
- customSearchControl.draw('cse');
- }, true);
- }
- </script>
- </div>-->
- </div>
- </div>
- <div class="col-sub"><ul class="s-box demo-toctree">
- <h2 class="s-box-hd">Seed</h2>
- <ul class="s-box-bd">
- <li><a href="../../seed/loader/index.html">loader</a></li>
- <li><a href="../../seed/lang/index.html">lang</a></li>
- <!--<li><a href="../../seed/kissy/index.html">kissy</a></li>
- <li><a href="../../seed/web/index.html">web</a></li>-->
- </ul>
- </ul>
- <ul class="s-box core-toctree">
- <h2 class="s-box-hd">Core</h2>
- <ul class="s-box-bd">
- <!--<li><a href="../../core/ua/index.html">ua</a></li>
- <li><a href="../../core/dom/index.html">DOM</a></li>
- <li><a href="../../core/event/index.html">event</a></li>
- <li><a href="../../core/node/index.html">node</a></li>
- <li><a href="../../core/json/index.html">json</a></li>
- <li><a href="../../core/ajax/index.html">ajax</a></li>
- <li><a href="../../core/cookie/index.html">cookie</a></li>
- <li><a href="../../core/base/index.html">base</a></li>-->
- <li><a href="../../core/anim/index.html">anim</a></li>
- </ul>
- </ul>
- <ul class="s-box component-toctree">
- <h2 class="s-box-hd">Component</h2>
- <ul class="s-box-bd">
- <li><a href="../mvc/index.html">mvc</a></li>
- <!--<li><a href="https://github.com/jquery/sizzle/wiki/Sizzle-Home">sizzle</a></li>
- <li><a href="../template/index.html">template</a></li>-->
- <li><a href="../datalazyload/index.html">datalazyload</a></li>
- <!--<li><a href="../flash/index.html">flash</a></li>-->
- <li><a href="../dd/index.html">dd</a></li>
- <li><a href="../resizable/index.html">resizable</a></li>
- <li><a href="#">switchable</a></li>
- <li><a href="../suggest/index.html">suggest</a></li>
- <li><a href="../calendar/index.html">calendar</a></li>
- <li><a href="../imagezoom/index.html">imagezoom</a></li>
- <li><a href="../overlay/index.html">overlay</a></li>
- <li><a href="../button/index.html">button</a></li>
- <li><a href="../menu/index.html">menu</a></li>
- <li><a href="../menubutton/index.html">menubutton</a></li>
- <li><a href="../tree/index.html">tree</a></li>
- <li><a href="../waterfall/index.html">waterfall</a></li>
- <li><a href="http://docs.kissyui.com/kissy/src/validation/demo/" target="_blank">validation</a></li>
- <li><a href="../editor/index.html">editor</a></li>
- </ul>
- </ul>
-
- </div>
- </div>
- </div>
- <div id="footer">
- © Copyright 2010~2012, KISSY Team. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>
- </div>
- </body>
- </html>