Projet

Général

Profil

Paste
Télécharger (5,04 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / libraries / flexslider-version / demo / thumbnail-controlnav.html @ 5a7e6170

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
  <!-- Demo CSS -->
9
        <link rel="stylesheet" href="css/demo.css" type="text/css" media="screen" />
10
        <link rel="stylesheet" href="../flexslider.css" type="text/css" media="screen" />
11
12
        <!-- Modernizr -->
13
  <script src="js/modernizr.js"></script>
14
15
</head>
16
<body class="loading">
17
18
  <div id="container" class="cf">
19
    <header role="navigation">
20
      <a class="logo" href="http://www.woothemes.com" title="WooThemes">
21
        <img src="images/logo.png" alt="WooThemes" />
22
          </a>
23
      <h1>FlexSlider 2</h1>
24
      <h2>The best responsive slider. Period.</h2>
25
      <a class="button green" href="https://github.com/woothemes/FlexSlider/zipball/master">Download Flexslider</a>
26
      <h3 class="nav-header">Other Examples</h3>
27
      <nav>
28
        <ul>
29
          <li><a href="index.html">Basic Slider</a></li>
30
          <li class="active"><a href="thumbnail-controlnav.html">Slider w/thumbnail controlNav pattern</a></li>
31
          <li><a href="thumbnail-slider.html">Slider w/thumbnail slider</a></li>
32
          <li><a href="basic-carousel.html">Basic Carousel</a></li>
33
          <li><a href="carousel-min-max.html">Carousel with min and max ranges</a></li>
34
          <li><a href="dynamic-carousel-min-max.html">Carousel with dynamic min/max ranges</a></li>
35
          <li><a href="video.html">Video & the api (vimeo)</a></li>
36
          <li><a href="video-wistia.html">Video & the api (wistia)</a></li>
37
        </ul>
38
      </nav>
39
    </header>
40
41
        <div id="main" role="main">
42
      <section class="slider">
43
        <div class="flexslider">
44
          <ul class="slides">
45
            <li data-thumb="images/kitchen_adventurer_cheesecake_brownie.jpg">
46
                          <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
47
                              </li>
48
                              <li data-thumb="images/kitchen_adventurer_lemon.jpg">
49
                          <img src="images/kitchen_adventurer_lemon.jpg" />
50
                              </li>
51
                              <li data-thumb="images/kitchen_adventurer_donut.jpg">
52
                          <img src="images/kitchen_adventurer_donut.jpg" />
53
                              </li>
54
                              <li data-thumb="images/kitchen_adventurer_caramel.jpg">
55
                          <img src="images/kitchen_adventurer_caramel.jpg" />
56
                              </li>
57
          </ul>
58
        </div>
59
      </section>
60
      <aside>
61
        <div class="cf">
62
          <h3>Thumbnail ControlNav Pattern</h3>
63
          <ul class="toggle cf">
64
            <li class="js"><a href="#view-js">JS</a></li>
65
            <li class="html"><a href="#view-html">HTML</a></li>
66
          </ul>
67
        </div>
68
        <div id="view-js" class="code">
69
          <pre class="brush: js; toolbar: false; gutter: false;">
70
            // Can also be used with $(document).ready()
71
            $(window).load(function() {
72
              $('.flexslider').flexslider({
73
                animation: "slide",
74
                controlNav: "thumbnails"
75
              });
76
            });
77
          </pre>
78
        </div>
79
        <div id="view-html" class="code">
80
          <pre class="brush: xml; toolbar: false; gutter: false;">
81
            &lt;!-- Place somewhere in the &lt;body&gt; of your page -->
82
            &lt;div class="flexslider">
83
              &lt;ul class="slides">
84
                &lt;li data-thumb="slide1-thumb.jpg">
85
                  &lt;img src="slide1.jpg" />
86
                &lt;/li>
87
                &lt;li data-thumb="slide2-thumb.jpg">
88
                  &lt;img src="slide2.jpg" />
89
                &lt;/li>
90
                &lt;li data-thumb="slide3-thumb.jpg">
91
                  &lt;img src="slide3.jpg" />
92
                &lt;/li>
93
                &lt;li data-thumb="slide4-thumb.jpg">
94
                  &lt;img src="slide4.jpg" />
95
                &lt;/li>
96
              &lt;/ul>
97
            &lt;/div>
98
          </pre>
99
        </div>
100
      </aside>
101
    </div>
102
103
  </div>
104
105
  <!-- jQuery -->
106
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
107
  <script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.min.js">\x3C/script>')</script>
108
109
  <!-- FlexSlider -->
110
  <script defer src="../jquery.flexslider.js"></script>
111
112
  <script type="text/javascript">
113
    $(function(){
114
      SyntaxHighlighter.all();
115
    });
116
    $(window).load(function(){
117
      $('.flexslider').flexslider({
118
        animation: "slide",
119
        controlNav: "thumbnails",
120
        start: function(slider){
121
          $('body').removeClass('loading');
122
        }
123
      });
124
    });
125
  </script>
126
127
128
  <!-- Syntax Highlighter -->
129
  <script type="text/javascript" src="js/shCore.js"></script>
130
  <script type="text/javascript" src="js/shBrushXml.js"></script>
131
  <script type="text/javascript" src="js/shBrushJScript.js"></script>
132
133
  <!-- Optional FlexSlider Additions -->
134
  <script src="js/jquery.easing.js"></script>
135
  <script src="js/jquery.mousewheel.js"></script>
136
  <script defer src="js/demo.js"></script>
137
138
</body>
139
</html>