Projet

Général

Profil

Paste
Télécharger (6,13 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / libraries / flexslider-2.5.0 / demo / carousel-min-max.html @ 4b706e38

1 85ad3d82 Assos Assos
<!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><a href="index.html">Basic Slider</a></li>
33 0aee3c58 Assos Assos
          <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 85ad3d82 Assos Assos
          <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 class="active"><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 carousel">
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
                              <li>
63
                          <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
64
                              </li>
65
                              <li>
66
                          <img src="images/kitchen_adventurer_lemon.jpg" />
67
                              </li>
68
                              <li>
69
                          <img src="images/kitchen_adventurer_donut.jpg" />
70
                              </li>
71
                              <li>
72
                          <img src="images/kitchen_adventurer_caramel.jpg" />
73
                              </li>
74
                              <li>
75
                          <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
76
                              </li>
77
                              <li>
78
                          <img src="images/kitchen_adventurer_lemon.jpg" />
79
                              </li>
80
                              <li>
81
                          <img src="images/kitchen_adventurer_donut.jpg" />
82
                              </li>
83
                              <li>
84
                          <img src="images/kitchen_adventurer_caramel.jpg" />
85
                              </li>
86
          </ul>
87
        </div>
88
      </section>
89
      <aside>
90
        <div class="cf">
91
          <h3>Carousel With Min &amp; Max Ranges</h3>
92
          <ul class="toggle cf">
93
            <li class="js"><a href="#view-js">JS</a></li>
94
            <li class="html"><a href="#view-html">HTML</a></li>
95
          </ul>
96
        </div>
97
        <div id="view-js" class="code">
98
          <pre class="brush: js; toolbar: false; gutter: false;">
99
            // Can also be used with $(document).ready()
100
            $(window).load(function() {
101
              $('.flexslider').flexslider({
102
                animation: "slide",
103
                animationLoop: false,
104
                itemWidth: 210,
105
                itemMargin: 5,
106
                minItems: 2,
107
                maxItems: 4
108
              });
109
            });
110
          </pre>
111
        </div>
112
        <div id="view-html" class="code">
113
          <pre class="brush: xml; toolbar: false; gutter: false;">
114
            &lt;!-- Place somewhere in the &lt;body&gt; of your page -->
115
            &lt;div class="flexslider">
116
              &lt;ul class="slides">
117
                &lt;li>
118
                  &lt;img src="slide1.jpg" />
119
                &lt;/li>
120
                &lt;li>
121
                  &lt;img src="slide2.jpg" />
122
                &lt;/li>
123
                &lt;li>
124
                  &lt;img src="slide3.jpg" />
125
                &lt;/li>
126
                &lt;li>
127
                  &lt;img src="slide4.jpg" />
128
                &lt;/li>
129
                &lt;!-- items mirrored twice, total of 12 -->
130
              &lt;/ul>
131
            &lt;/div>
132
          </pre>
133
        </div>
134
      </aside>
135
    </div>
136
137
  </div>
138
139
  <!-- jQuery -->
140
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
141
  <script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.min.js">\x3C/script>')</script>
142
143
  <!-- FlexSlider -->
144
  <script defer src="../jquery.flexslider.js"></script>
145
146
   <script type="text/javascript">
147
    $(function(){
148
      SyntaxHighlighter.all();
149
    });
150
    $(window).load(function(){
151
      $('.flexslider').flexslider({
152
        animation: "slide",
153
        animationLoop: false,
154
        itemWidth: 210,
155
        itemMargin: 5,
156
        minItems: 2,
157
        maxItems: 4,
158
        start: function(slider){
159
          $('body').removeClass('loading');
160
        }
161
      });
162
    });
163
  </script>
164
165
166
  <!-- Syntax Highlighter -->
167
  <script type="text/javascript" src="js/shCore.js"></script>
168
  <script type="text/javascript" src="js/shBrushXml.js"></script>
169
  <script type="text/javascript" src="js/shBrushJScript.js"></script>
170
171
  <!-- Optional FlexSlider Additions -->
172
  <script src="js/jquery.easing.js"></script>
173
  <script src="js/jquery.mousewheel.js"></script>
174
  <script defer src="js/demo.js"></script>
175
176
</body>
177
</html>