Projet

Général

Profil

Paste
Télécharger (4,99 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / libraries / flexslider-2.5.0 / demo / index.html @ 4b706e38

1
<!DOCTYPE html>
2
<html class="no-js" lang="en">
3
<head>
4
        <meta content="charset=utf-8">
5
        <title>FlexSlider 2</title>
6
        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
7

    
8
  <!-- Syntax Highlighter -->
9
  <link href="css/shCore.css" rel="stylesheet" type="text/css" />
10
  <link href="css/shThemeDefault.css" rel="stylesheet" type="text/css" />
11
  <!-- Demo CSS -->
12
        <link rel="stylesheet" href="css/demo.css" type="text/css" media="screen" />
13
        <link rel="stylesheet" href="../flexslider.css" type="text/css" media="screen" />
14

    
15
        <!-- Modernizr -->
16
  <script src="js/modernizr.js"></script>
17

    
18
</head>
19
<body class="loading">
20

    
21
  <div id="container" class="cf">
22
    <header role="navigation">
23
      <a class="logo" href="http://www.woothemes.com" title="WooThemes">
24
        <img src="images/logo.png" alt="WooThemes" />
25
          </a>
26
      <h1>FlexSlider 2</h1>
27
      <h2>The best responsive slider. Period.</h2>
28
      <a class="button green" href="https://github.com/woothemes/FlexSlider/zipball/master">Download Flexslider</a>
29
      <h3 class="nav-header">Other Examples</h3>
30
      <nav>
31
        <ul>
32
          <li class="active"><a href="index.html">Basic Slider</a></li>
33
          <li><a href="basic-slider-with-custom-direction-nav.html">Basic Slider customDirectionNav</a></li>
34
          <li><a href="basic-slider-with-caption.html">Basic Slider with Simple Caption</a></li>
35
          <li><a href="thumbnail-controlnav.html">Slider w/thumbnail controlNav pattern</a></li>
36
          <li><a href="thumbnail-slider.html">Slider w/thumbnail slider</a></li>
37
          <li><a href="basic-carousel.html">Basic Carousel</a></li>
38
          <li><a href="carousel-min-max.html">Carousel with min and max ranges</a></li>
39
          <li><a href="dynamic-carousel-min-max.html">Carousel with dynamic min/max ranges</a></li>
40
          <li><a href="video.html">Video & the api (vimeo)</a></li>
41
          <li><a href="video-wistia.html">Video & the api (wistia)</a></li>
42
        </ul>
43
      </nav>
44
    </header>
45

    
46
        <div id="main" role="main">
47
      <section class="slider">
48
        <div class="flexslider">
49
          <ul class="slides">
50
            <li>
51
                          <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
52
                              </li>
53
                              <li>
54
                          <img src="images/kitchen_adventurer_lemon.jpg" />
55
                              </li>
56
                              <li>
57
                          <img src="images/kitchen_adventurer_donut.jpg" />
58
                              </li>
59
                              <li>
60
                          <img src="images/kitchen_adventurer_caramel.jpg" />
61
                              </li>
62
          </ul>
63
        </div>
64
      </section>
65
      <aside>
66
        <div class="cf">
67
          <h3>Basic Slider</h3>
68
          <ul class="toggle cf">
69
            <li class="js"><a href="#view-js">JS</a></li>
70
            <li class="html"><a href="#view-html">HTML</a></li>
71
          </ul>
72
        </div>
73
        <div id="view-js" class="code">
74
          <pre class="brush: js; toolbar: false; gutter: false;">
75
            // Can also be used with $(document).ready()
76
            $(window).load(function() {
77
              $('.flexslider').flexslider({
78
                animation: "slide"
79
              });
80
            });
81
          </pre>
82
        </div>
83
        <div id="view-html" class="code">
84
          <pre class="brush: xml; toolbar: false; gutter: false;">
85
            &lt;!-- Place somewhere in the &lt;body&gt; of your page -->
86
            &lt;div class="flexslider">
87
              &lt;ul class="slides">
88
                &lt;li>
89
                  &lt;img src="slide1.jpg" />
90
                &lt;/li>
91
                &lt;li>
92
                  &lt;img src="slide2.jpg" />
93
                &lt;/li>
94
                &lt;li>
95
                  &lt;img src="slide3.jpg" />
96
                &lt;/li>
97
                &lt;li>
98
                  &lt;img src="slide4.jpg" />
99
                &lt;/li>
100
              &lt;/ul>
101
            &lt;/div>
102
          </pre>
103
        </div>
104
      </aside>
105
    </div>
106

    
107
  </div>
108

    
109
  <!-- jQuery -->
110
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
111
  <script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.min.js">\x3C/script>')</script>
112

    
113
  <!-- FlexSlider -->
114
  <script defer src="../jquery.flexslider.js"></script>
115

    
116
  <script type="text/javascript">
117
    $(function(){
118
      SyntaxHighlighter.all();
119
    });
120
    $(window).load(function(){
121
      $('.flexslider').flexslider({
122
        animation: "slide",
123
        start: function(slider){
124
          $('body').removeClass('loading');
125
        }
126
      });
127
    });
128
  </script>
129

    
130

    
131
  <!-- Syntax Highlighter -->
132
  <script type="text/javascript" src="js/shCore.js"></script>
133
  <script type="text/javascript" src="js/shBrushXml.js"></script>
134
  <script type="text/javascript" src="js/shBrushJScript.js"></script>
135

    
136
  <!-- Optional FlexSlider Additions -->
137
  <script src="js/jquery.easing.js"></script>
138
  <script src="js/jquery.mousewheel.js"></script>
139
  <script defer src="js/demo.js"></script>
140

    
141
</body>
142
</html>