SlideShare a Scribd company logo
1 of 3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>FlexSlider Widget : &lt;default&gt;</title>
<script type='text/javascript' src='js/modernizr-2.5.2-respond-
1.1.0.min.js'></script>
<link type='text/css' href='css/style.css' rel='stylesheet'/>
<link type='text/css' href='css/flexslider.css' rel='stylesheet'/>
<script type='text/javascript' src='js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='js/jquery.flexslider-min.js'></script>
<script type='text/javascript' src='js/jquery.mousewheel.js'></script>
<script type='text/javascript' src='js/jquery.easing.1.3.js'></script>
</head>

<body>
<script type="text/javascript">
$(window).load(function() {


      $('#slider').flexslider({
          namespace: "flex-",              //{NEW} String: Prefix string attached
to the class of every element generated by the plugin
    selector: ".slides > li",       //{NEW} Selector: Must match a simple
pattern. '{container} > {slide}' -- Ignore pattern at your own peril
      animation: "slide",
         easing: "swing",                //{NEW} String: Determines the easing
method used in jQuery transitions. jQuery easing plugin is supported!
      direction: "horizontal",   //String: Select the sliding direction,
'horizontal' or 'vertical'
    reverse: false,                 //{NEW} Boolean: Reverse the animation
direction
    animationLoop: false,              //Boolean: Should the animation loop? If
false, directionNav will received "disable" classes at either end
    smoothHeight: true,            //{NEW} Boolean: Allow height of the slider
to animate smoothly in horizontal mode
      slideshow: true,                 //Boolean: Animate slider automatically
      slideshowSpeed: 5000,            //Integer: Set the speed of the slideshow
cycling, in milliseconds
      animationSpeed: 600,         //Integer: Set the speed of animations, in
milliseconds
      initDelay: 0,                    //{NEW} Integer: Set an initialization
delay, in milliseconds
      randomize: false,                //Boolean: Randomize slide order
         useCSS: true,                    //{NEW} Boolean: Slider will use CSS3
transitions if available
      touch: true,                     //{NEW} Boolean: Allow touch swipe
navigation of the slider on touch-enabled devices
       video: false,                    //{NEW} Boolean: If using video in the
slider, will prevent CSS3 3D Transforms to avoid graphical glitches
      directionNav: true,              //Boolean: Create navigation for
previous/next navigation? (true/false)

      controlNav: true,               //Boolean: Create navigation for paging
control of each clide? Note: Leave true for manualControls usage
      keyboard: true,              //Boolean: Allow slider navigating via
keyboard left/right keys
      mousewheel: false,              //Boolean: Allow slider navigating via
mousewheel
      prevText: "Previous",           //String: Set the text for the "previous"
directionNav item
      nextText: "Next",               //String: Set the text for the "next"
directionNav item
      pausePlay: false,               //Boolean: Create pause/play dynamic
element
       pauseText: "Pause",            //String: Set the text for the "pause"
pausePlay item
       playText: "Play",              //String: Set the text for the "play"
pausePlay item
       startAt: 0,               //Integer: The slide that the slider should
start on. Array notation (0 = first slide)
       pauseOnAction: true,           //Boolean: Pause the slideshow when
interacting with control elements, highly recommended.
       pauseOnHover: true,           //Boolean: Pause the slideshow when
hovering over slider, then resume when no longer hovering
       start: function(){},           //Callback: function(slider) - Fires when
the slider loads the first slide
         controlsContainer: "",         //Selector: Declare which container the
navigation elements should be appended too. Default container is the flexSlider
element. Example use would be ".flexslider-container", "#container", etc. If the
given element is                                                not found, the
default action will be taken.
        manualControls: "",            //Selector: Declare custom control
navigation. Example would be ".flex-control-nav li" or "#tabs-nav li img", etc.
The number of elements in your controlNav should match the number of
slides/tabs.
        // Carousel Options
    itemWidth: 0,                   //{NEW} Integer: Box-model width of
individual carousel items, including horizontal borders and padding.
    itemMargin: 10,                  //{NEW} Integer: Margin between carousel
items.
    minItems: 0,                    //{NEW} Integer: Minimum number of carousel
items that should be visible. Items will resize fluidly when below this.
    maxItems: 0,                    //{NEW} Integer: Maxmimum number of carousel
items that should be visible. Items will resize fluidly when above this limit.
    move: 0,                        //{NEW} Integer: Number of carousel items
that should move on animation. If 0, slider will move all visible items.
         before: function(){},          //Callback: function(slider) - Fires
asynchronously with each slider animation
       after: function(){},           //Callback: function(slider) - Fires after
each slider animation completes
       end: function(){}              //Callback: function(slider) - Fires when
the slider reaches the last slide (asynchronous)
       });
       });
</script>
<div id="main-container">
<p><a href="http://www.woothemes.com/flexslider/">Flexslider Demo and
Documentation</a></p>
      <div id="main" class="wrapper clearfix">

        <!-- FlexSlider -->
        <div id="container">
             <div id="slider" class="flexslider">
          <ul class="slides">
            <li>
                <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
                  </li>
                  <li>
                <img src="images/kitchen_adventurer_lemon.jpg" />
                  </li>
                  <li>
                <img src="images/kitchen_adventurer_donut.jpg" />
                  </li>
                  <li>
                <img src="images/kitchen_adventurer_caramel.jpg" />
                  </li>
                         <li>
<img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
                  </li>
                  <li>
                <img src="images/kitchen_adventurer_lemon.jpg" />
                  </li>
                  <li>
                <img src="images/kitchen_adventurer_donut.jpg" />
                  </li>
                  <li>
                <img src="images/kitchen_adventurer_caramel.jpg" />
                  </li>
          </ul>
        </div>
            <div id="carousel" class="flexslider" style="display:none;">
    <ul class="slides">
             <li>
                 <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
                   </li>
                   <li>
                 <img src="images/kitchen_adventurer_lemon.jpg" />
                   </li>
                   <li>
                 <img src="images/kitchen_adventurer_donut.jpg" />
                   </li>
                   <li>
                 <img src="images/kitchen_adventurer_caramel.jpg" />
                   </li>
                          <li>
                 <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" />
                   </li>
                   <li>
                 <img src="images/kitchen_adventurer_lemon.jpg" />
                   </li>
                   <li>
                 <img src="images/kitchen_adventurer_donut.jpg" />
                   </li>
                   <li>
                 <img src="images/kitchen_adventurer_caramel.jpg" />
                   </li>
          </ul>
</div>
      </div>
      </div> <!-- #main -->
      </div> <!-- #main-container -->
</body>
</html>

More Related Content

What's hot

Bcblackpool jquery tips
Bcblackpool jquery tipsBcblackpool jquery tips
Bcblackpool jquery tips
Jack Franklin
 
JavaScript APIs - The Web is the Platform - MDN Hack Day, Sao Paulo
JavaScript APIs - The Web is the Platform - MDN Hack Day, Sao PauloJavaScript APIs - The Web is the Platform - MDN Hack Day, Sao Paulo
JavaScript APIs - The Web is the Platform - MDN Hack Day, Sao Paulo
Robert Nyman
 
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaLeave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
Robert Nyman
 
Railsbridge javascript
Railsbridge   javascriptRailsbridge   javascript
Railsbridge javascript
p4geoff
 
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложенияCodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest
 

What's hot (20)

JavaScript Libraries (@Media)
JavaScript Libraries (@Media)JavaScript Libraries (@Media)
JavaScript Libraries (@Media)
 
Test slideshare document
Test slideshare documentTest slideshare document
Test slideshare document
 
Introduction to Jquery
Introduction to JqueryIntroduction to Jquery
Introduction to Jquery
 
jQuery (BostonPHP)
jQuery (BostonPHP)jQuery (BostonPHP)
jQuery (BostonPHP)
 
An Introduction to WordPress Hooks
An Introduction to WordPress HooksAn Introduction to WordPress Hooks
An Introduction to WordPress Hooks
 
Contextual jQuery
Contextual jQueryContextual jQuery
Contextual jQuery
 
Backbone/Marionette introduction
Backbone/Marionette introductionBackbone/Marionette introduction
Backbone/Marionette introduction
 
Beyond DOM Manipulations: Building Stateful Modules with Events and Promises
Beyond DOM Manipulations: Building Stateful Modules with Events and PromisesBeyond DOM Manipulations: Building Stateful Modules with Events and Promises
Beyond DOM Manipulations: Building Stateful Modules with Events and Promises
 
HTML5: where flash isn't needed anymore
HTML5: where flash isn't needed anymoreHTML5: where flash isn't needed anymore
HTML5: where flash isn't needed anymore
 
An in-depth look at jQuery UI
An in-depth look at jQuery UIAn in-depth look at jQuery UI
An in-depth look at jQuery UI
 
J Query (Complete Course) by Muhammad Ehtisham Siddiqui
J Query (Complete Course) by Muhammad Ehtisham SiddiquiJ Query (Complete Course) by Muhammad Ehtisham Siddiqui
J Query (Complete Course) by Muhammad Ehtisham Siddiqui
 
Bcblackpool jquery tips
Bcblackpool jquery tipsBcblackpool jquery tips
Bcblackpool jquery tips
 
jQuery and_drupal
jQuery and_drupaljQuery and_drupal
jQuery and_drupal
 
Presentational jQuery
Presentational jQueryPresentational jQuery
Presentational jQuery
 
jQuery UI and Plugins
jQuery UI and PluginsjQuery UI and Plugins
jQuery UI and Plugins
 
JavaScript APIs - The Web is the Platform - MDN Hack Day, Sao Paulo
JavaScript APIs - The Web is the Platform - MDN Hack Day, Sao PauloJavaScript APIs - The Web is the Platform - MDN Hack Day, Sao Paulo
JavaScript APIs - The Web is the Platform - MDN Hack Day, Sao Paulo
 
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, CroatiaLeave No One Behind with HTML5 - FFWD.PRO, Croatia
Leave No One Behind with HTML5 - FFWD.PRO, Croatia
 
Railsbridge javascript
Railsbridge   javascriptRailsbridge   javascript
Railsbridge javascript
 
Backbone.js
Backbone.jsBackbone.js
Backbone.js
 
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложенияCodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
 

Similar to New text documentfsdfs

Artdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script EffectsArtdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script Effects
Gilbert Guerrero
 
Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...
Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...
Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...
Alessandro Nadalin
 
Yearning jQuery
Yearning jQueryYearning jQuery
Yearning jQuery
Remy Sharp
 
jQtouch, Building Awesome Webapps
jQtouch, Building Awesome WebappsjQtouch, Building Awesome Webapps
jQtouch, Building Awesome Webapps
Home
 
Private slideshow
Private slideshowPrivate slideshow
Private slideshow
sblackman
 

Similar to New text documentfsdfs (20)

Xxx
XxxXxx
Xxx
 
Artdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script EffectsArtdm170 Week4 Java Script Effects
Artdm170 Week4 Java Script Effects
 
ChocolateChip-UI
ChocolateChip-UIChocolateChip-UI
ChocolateChip-UI
 
Building iPhone Web Apps using "classic" Domino
Building iPhone Web Apps using "classic" DominoBuilding iPhone Web Apps using "classic" Domino
Building iPhone Web Apps using "classic" Domino
 
Taking your Web App for a walk
Taking your Web App for a walkTaking your Web App for a walk
Taking your Web App for a walk
 
Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...
Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...
Hey, I just met AngularJS, and this is crazy, so here’s my JavaScript, let’s ...
 
Reactive Type-safe WebComponents
Reactive Type-safe WebComponentsReactive Type-safe WebComponents
Reactive Type-safe WebComponents
 
Backbone.js
Backbone.jsBackbone.js
Backbone.js
 
Site optimization
Site optimizationSite optimization
Site optimization
 
Yearning jQuery
Yearning jQueryYearning jQuery
Yearning jQuery
 
Articulo java web
Articulo java webArticulo java web
Articulo java web
 
Sharepoint 2013 - un slider JSSOR sur bib Images
Sharepoint 2013 - un slider JSSOR sur bib ImagesSharepoint 2013 - un slider JSSOR sur bib Images
Sharepoint 2013 - un slider JSSOR sur bib Images
 
jQuery Essentials
jQuery EssentialsjQuery Essentials
jQuery Essentials
 
AngularJS.part1
AngularJS.part1AngularJS.part1
AngularJS.part1
 
jQtouch, Building Awesome Webapps
jQtouch, Building Awesome WebappsjQtouch, Building Awesome Webapps
jQtouch, Building Awesome Webapps
 
Wave Workshop
Wave WorkshopWave Workshop
Wave Workshop
 
Course CodeSchool - Shaping up with Angular.js
Course CodeSchool - Shaping up with Angular.jsCourse CodeSchool - Shaping up with Angular.js
Course CodeSchool - Shaping up with Angular.js
 
Private slideshow
Private slideshowPrivate slideshow
Private slideshow
 
Upload[1]
Upload[1]Upload[1]
Upload[1]
 
javascript examples
javascript examplesjavascript examples
javascript examples
 

New text documentfsdfs

  • 1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>FlexSlider Widget : &lt;default&gt;</title> <script type='text/javascript' src='js/modernizr-2.5.2-respond- 1.1.0.min.js'></script> <link type='text/css' href='css/style.css' rel='stylesheet'/> <link type='text/css' href='css/flexslider.css' rel='stylesheet'/> <script type='text/javascript' src='js/jquery-1.7.2.min.js'></script> <script type='text/javascript' src='js/jquery.flexslider-min.js'></script> <script type='text/javascript' src='js/jquery.mousewheel.js'></script> <script type='text/javascript' src='js/jquery.easing.1.3.js'></script> </head> <body> <script type="text/javascript"> $(window).load(function() { $('#slider').flexslider({ namespace: "flex-", //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector: ".slides > li", //{NEW} Selector: Must match a simple pattern. '{container} > {slide}' -- Ignore pattern at your own peril animation: "slide", easing: "swing", //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction: "horizontal", //String: Select the sliding direction, 'horizontal' or 'vertical' reverse: false, //{NEW} Boolean: Reverse the animation direction animationLoop: false, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: true, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode slideshow: true, //Boolean: Animate slider automatically slideshowSpeed: 5000, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: 600, //Integer: Set the speed of animations, in milliseconds initDelay: 0, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: false, //Boolean: Randomize slide order useCSS: true, //{NEW} Boolean: Slider will use CSS3 transitions if available touch: true, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video: false, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false) controlNav: true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage keyboard: true, //Boolean: Allow slider navigating via keyboard left/right keys mousewheel: false, //Boolean: Allow slider navigating via mousewheel prevText: "Previous", //String: Set the text for the "previous" directionNav item nextText: "Next", //String: Set the text for the "next" directionNav item pausePlay: false, //Boolean: Create pause/play dynamic
  • 2. element pauseText: "Pause", //String: Set the text for the "pause" pausePlay item playText: "Play", //String: Set the text for the "play" pausePlay item startAt: 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide) pauseOnAction: true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover: true, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering start: function(){}, //Callback: function(slider) - Fires when the slider loads the first slide controlsContainer: "", //Selector: Declare which container the navigation elements should be appended too. Default container is the flexSlider element. Example use would be ".flexslider-container", "#container", etc. If the given element is not found, the default action will be taken. manualControls: "", //Selector: Declare custom control navigation. Example would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. // Carousel Options itemWidth: 0, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding. itemMargin: 10, //{NEW} Integer: Margin between carousel items. minItems: 0, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this. maxItems: 0, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit. move: 0, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items. before: function(){}, //Callback: function(slider) - Fires asynchronously with each slider animation after: function(){}, //Callback: function(slider) - Fires after each slider animation completes end: function(){} //Callback: function(slider) - Fires when the slider reaches the last slide (asynchronous) }); }); </script> <div id="main-container"> <p><a href="http://www.woothemes.com/flexslider/">Flexslider Demo and Documentation</a></p> <div id="main" class="wrapper clearfix"> <!-- FlexSlider --> <div id="container"> <div id="slider" class="flexslider"> <ul class="slides"> <li> <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" /> </li> <li> <img src="images/kitchen_adventurer_lemon.jpg" /> </li> <li> <img src="images/kitchen_adventurer_donut.jpg" /> </li> <li> <img src="images/kitchen_adventurer_caramel.jpg" /> </li> <li>
  • 3. <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" /> </li> <li> <img src="images/kitchen_adventurer_lemon.jpg" /> </li> <li> <img src="images/kitchen_adventurer_donut.jpg" /> </li> <li> <img src="images/kitchen_adventurer_caramel.jpg" /> </li> </ul> </div> <div id="carousel" class="flexslider" style="display:none;"> <ul class="slides"> <li> <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" /> </li> <li> <img src="images/kitchen_adventurer_lemon.jpg" /> </li> <li> <img src="images/kitchen_adventurer_donut.jpg" /> </li> <li> <img src="images/kitchen_adventurer_caramel.jpg" /> </li> <li> <img src="images/kitchen_adventurer_cheesecake_brownie.jpg" /> </li> <li> <img src="images/kitchen_adventurer_lemon.jpg" /> </li> <li> <img src="images/kitchen_adventurer_donut.jpg" /> </li> <li> <img src="images/kitchen_adventurer_caramel.jpg" /> </li> </ul> </div> </div> </div> <!-- #main --> </div> <!-- #main-container --> </body> </html>