Showing posts with label Slider. Show all posts
Showing posts with label Slider. Show all posts

Mostly CSS based skin

. 6/25/10
0 comments

Here we have a tab setup that uses only one background image for the selected tab and a semi-transparent gradient for the background of the panes. Otherwise the whole thing is just simple CSS dimensions, borders, paddings and coloring.


HTML

<div id="panes">
 <div>
 <img src="pic01_m.jpg"  />
 <h3>Seagram Building</h3>

<p class="more">The Seagram Building is a skyscraper in New York 
 City, located at 375 Park Avenue, between 52nd Street and 53rd 
 Street in Midtown Manhattan. It was designed by the German 
 architect Ludwig Mies van der Rohe, in collaboration with the 
 American Philip Johnson.</p>

<p>It is 515 feet tall with 38 stories. Severud Associates were 
the structural engineering consultants. It stands as one of the 
finest examples of the functionalist aesthetic and a masterpiece 
of corporate modernism. It was designed as the headquarters for 
the Canadian distillers Joseph E. Seagram's &amp; Sons, thanks 
to the foresight of Phyllis Lambert, the daughter of Samuel 
Bronfman, Seagram's CEO.</p>
</div>
   
<div>
 <img src="pic02_m.jpg"  />
 
<h3>Barcelona Pavilion</h3> 

<p class="more">The Barcelona Pavilion, designed by Ludwig Mies 
van der Rohe, was the German Pavilion for the 1929 International 
Exposition in Barcelona, Spain. This building was used for the 
official opening of the German section of the exhibition.</p>

<p>Mies was offered the commission of this building in 1928 after 
his successful administration of the 1927 Werkbund exhibition in 
Stuttgart. The German Reich entrusted Mies with the artistic 
management and erection of not only the Barcelona Pavilion, but 
for the buildings for all the German sections at the 1929 
Universal Exhibition.</p>
</div>
 
  <div> 
<img src="pic03_m.jpg" />
<h3>Neue Nationalgalerie</h3>

<p class="more">Neue Nationalgalerie at the Kulturforum is a 
museum for classical modern art in Berlin, with main focus on 
early the 20th century. It is part of the German National Gallery. 
The museum building and its sculpture garden were designed by 
Ludwig Mies van der Rohe and opened in 1968.</p>

<p>The collection features a number of unique highlights of modern 
20th century art. Particularly well represented are Cubism, 
Expressionism, the Bauhaus and Surrealism. The collection owns 
masterpieces of artists like Pablo Picasso, Ernst Ludwig Kirchner, 
Joan Mir&oacute;, Wassily Kandinsky and Barnett Newman.</p> 
</div>
</div>


<!-- navigator -->
<div id="nav">
<ul>
 <li><a href="#1"> <img src="pic01_s.jpg"/> <strong>Seagram Building</strong> New York City, USA </a> </li>
    <li><a href="#2"> <img src="pic02_s.jpg"/> <strong>Barcelona Pavilion</strong> Barcelona, Spain </a> </li>
    <li> <a href="#3"> <img src="pic03_s.jpg" /> <strong>National Gallery</strong> Berlin, Germany </a> </li>
</ul>
    
    


CSS

/* navigation */
#nav { background:#ddd url(h300_reverse.png); border-bottom:1px solid #CCCCCC; height:156px; width:745px; }
#nav ul { width:600px; margin:0 auto; }
#nav li { border-right:1px solid #ddd; float:left; padding-left:1px; width:175px; list-style-type:none; text-align:center; margin-top:0px; }
#nav a { color:#333333; display:block; padding:17px; position:relative; word-spacing:-2px; font-size:11px;  height:122px; text-decoration:none; }
#nav a.current { background:url(down_large.jpg); }
#nav img { background-color:#fff; border:1px solid #ccc; margin:3px 0 5px 27px; padding:4px;  display:block; }
#nav strong { display:block;  font-size:13px; }   


/* panes */
#panes { background:#fff url(h300_reverse.png) repeat scroll 0 0; border-color:#ccc; border-style:solid; border-width:1px 1px 0; width:743px; height:255px; margin-bottom:-20px; padding-bottom:20px; position:relative; }
#panes div { display:none;  position:absolute; top:20px; left:20px; font-size:13px; color:#444; width:650px;  }
#panes img { float:left; margin-right:20px;  }
#panes p.more { color:#000; font-weight:bold; font-size:13px; }
#panes h3 { margin:0 0 -5px 0; font-size:22px; font-weight:normal; }
.overlay { display:none; width:500px; padding:20px; background-color:#ddd; }  


Javascript

$(function() {
$("#nav ul").tabs("#panes > div", {effect: 'fade', fadeOutSpeed: 400});
});


View Example

jQuery Scrollable Registration Wizard

. 6/16/10
1 comments

Here is a registration wizard with primitive input validation logic and a "twitter" style message box for validation errors:

jQuery scrollable registration wizard


HTML


<div id="wizard">
 <ul id="status">
  <li class="active"><strong>1.</strong> Create Account</li>
  <li><strong>2.</strong> Contact Information</li>
  <li><strong>3.</strong> Finalize</li>
  </ul>
 <div class="items">
 <!-- page1 -->
  <div class="page">
 <h2>
  <strong>Step 1: </strong> jQuery Tools Account
  <em>Please enter your login information:</em>
  </h2>
 <ul>
  <!-- email -->
  <li class="required">
  <label>
  <strong>1.</strong> Enter Your Email Address <span>*</span><br>
  <input type="text" name="email" class="text">
  <em>Your password will be sent to this address. Your address will not made public.</em>
  </label>
  </li>
 <!-- username -->
  <li>
  <label>
  <strong>2.</strong> Pick a username <br>
  <input type="text" name="username" class="text">
  <em>Your preferred username to be used when logging in.</em>
  </label>
  </li>
 <!-- password -->
  <li class="required double">
 <label>
  <strong>3.</strong> Choose a Password <span>*</span><br>
  <input type="password" name="password" class="text">
  <em>Must be at least 8 characters long.</em>
  </label>
 <label>
  Verify Password <span>*</span><br>
  <input type="password" name="password1" class="text">
  </label>
  </li>
 <li class="clearfix">
  <button class="next right" type="button">Proceed »</button>
  </li>
  </ul>
 </div>
 <!-- page2 -->
  <div class="page">
 <h2>
  <strong>Step 2: </strong> Contact Information <b></b>
  <em>Please tell us where you live:</em>
  </h2>
 <ul>
  <!-- address -->
  <li class="required">
  <label>
  <strong>1.</strong> Enter Your Street Address <span>*</span><br>
  <input type="text" name="email" class="text">
  <em><strong>Example</strong>: Random Street 69 A 666</em>
  </label>
  </li>
 <!-- zip / city -->
  <li class="required double">
 <label>
  <strong>2.</strong> Enter Your Zip Code <span>*</span><br>
  <input name="zip" class="text">
  <em>This must be a numeric value</em>
  </label>
 <label>
  <strong>3.</strong> and The City <span>*</span>
  <select name="city">
  <option value="">-- please select --</option>
  <option>Helsinki</option>
  <option>Berlin</option>
  <option>New York</option>
  </select>
  </label>
  </li>
 <li class="clearfix">
  <button style="float: left;" class="prev disabled" type="button">« Back</button>
  <button class="next right" type="button">Proceed »</button>
  </li>
 <br clear="all">
  </ul>
 </div>
 <!-- page3 -->
  <div class="page">
 <h2>
  <strong>Step 3: </strong> Congratulations! <b></b>
  <em>You are now a happy member of the Open Source community</em>
  </h2>

 
 <p style="margin-top: 30px;">
  <button class="prev disabled" type="button">« Back</button>
  </p>
 </div>

 </div>
 </div>



CSS

/* scrollable root element */
#wizard {	
	background:#fff url(../images/h600.png) repeat scroll 0 0;
	border:5px solid #789;
	font-size:12px;
	height:450px;
	width:570px;
	overflow:hidden;
	position:relative;
	
	/* rounded corners for modern browsers */
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}  

/* scrollable items */
#wizard .items {
	width:20000em;	
	clear:both;	
	position:absolute;	
}

/* single item */
#wizard .page {	
	padding:20px 30px;
	width:500px;
	float:left;	
}

/* title */
#wizard h2 {
	border-bottom:1px dotted #ccc;
	font-size:22px;
	font-weight:normal;
	margin:10px 0 0 0;
	padding-bottom:15px;		
}

#wizard h2 em {
	display:block;
	font-size:14px;
	color:#666;
	font-style:normal;
	margin-top:5px;
}

/* input fields */
#wizard ul {
	padding:0px !important;
	margin:0px !important;
}

#wizard li {
	list-style-type:none;
	list-style-image:none;
	margin-bottom:25px;	
}

#wizard label {
	font-size:16px;	
	display:block;
}

#wizard label strong {
	color:#789;	
	position:relative;
	top:-1px;
}

#wizard label em {
	font-size:11px;
	color:#666;	
	font-style:normal;
}

#wizard .text {
	width:100%;
	padding:5px;
	border:1px solid #ccc;
	color:#456;
	letter-spacing:1px;
}

#wizard select {
	border:1px solid #ccc;
	width:94%;	
	padding:4px;
}

#wizard label span {
	color:#b8128f;
	font-weight:bold;
	position:relative;
	top:4px;
	font-size:20px;
}

#wizard .double label { 
	width:50%;
	float:left;
}

#wizard .double .text {
	width:93%;	
}

#wizard .clearfix {
	clear:left;
	padding-top:10px;	
}

#wizard .right {
	float:right;		
}

/* validation error message bar */
#drawer {
	background:#fff url(../images/h80.png) repeat-x scroll 0 0;
	_background-color:#fff;
	overflow:visible;
	position:fixed;	
	left:0;
	top:0;
	text-align:center;
	padding:15px;
	font-size:18px;
	border-bottom:2px solid #789;
	width:100%;
	display:none;
	z-index:2;
}

#wizard .error {
	border:1px solid red;		
}

#wizard #status {
	margin:0px !important;
	height:35px;
	background:#123 url(../images/h30.png) repeat-x;
	padding-left:25px !important;
	_background:#123;
}

#status li {
	list-style-type:none;
	list-style-image:none;
	float:left;
	color:#fff;
	padding:10px 30px;
}

#status li.active {
	background-color:#b8128f;
	font-weight:normal;		
}




JavaScript


function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.anythingSlider').anythingSlider({
                easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                delay: 3000,                    // How long between slide transitions in AutoPlay mode
                startStopped: false,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
        		startText: "Go",             // Start text
		        stopText: "Stop",               // Stop text
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#slide-jump").click(function(){
                $('.anythingSlider').anythingSlider(6);
            });
            
        });



jquery.tools.min.js


Click to Download



scrollable-registration-wizard.js


Click to Download




Example


Click to DEMO

AnythingSlider using jQuery

.
0 comments

jQuery AnythingSlider


HTML


<div class="anythingSlider">
    
  <div class="wrapper">
  <ul>
  <li><img src="images/slide-civil-1.jpg" alt="" /></li>
  <li>
  
  <div id="textSlide">
  
  <img src="images/251356.jpg" alt="tomato sandwich" style="float: right; margin: 0 0 2px 10px;" />
  
  <h3>Queenie's Killer Tomato Bagel Sandwich</h3>
  
  <h4>Ingredients</h4>
 <ul>
  <li>1 bagel, split and toasted</li>
  <li>2 tablespoons cream cheese</li>
  <li>1 roma (plum) tomatoes, thinly sliced</li>
  <li>salt and pepper to taste</li>
  <li>4 leaves fresh basil</li>
  </ul>
 
  </div>
  
  </li>
  <li><img src="images/slide-env-1.jpg" alt="" /></li>
  <li><img src="images/slide-civil-2.jpg" alt=""  /></li>
  <li>
  <div id="quoteSlide">
  
  <blockquote>Life is conversational. Web design should be the same way. On the web, you&#8217;re talking to someone you&#8217;ve probably never met – so it&#8217;s important to be clear and precise. Thus, well structured navigation and content organization goes hand in hand with having a good conversation.</blockquote>
  <p> - <a id='perma' href='http://quotesondesign.com/chikezie-ejiasi/'>Chikezie Ejiasi</a></p>
  
  </div>
  </li>
  <li><img src="images/slide-env-2.jpg" alt="" /></li>
  </ul> 
  </div>
  
  </div>



CSS

.anythingSlider                         { width: 760px; height: 360px; position: relative; }
.anythingSlider .wrapper                { width: 680px; overflow: auto; height: 341px; margin: 0 40px; position: absolute; top: 0; left: 0; }

                                       /* Width below is max for Opera */
.anythingSlider .wrapper ul             { width: 32700px; list-style: none; position: absolute; top: 0; left: 0; background: #eee; border-top: 3px solid #e0a213; border-bottom: 3px solid #e0a213; margin: 0; }
.anythingSlider ul li                   { display: block; float: left; padding: 0; height: 317px; width: 680px; margin: 0; }
.anythingSlider .arrow                  { display: block; height: 200px; width: 67px; background: url(../images/arrows.png) no-repeat 0 0; text-indent: -9999px; position: absolute; top: 65px; cursor: pointer; }
.anythingSlider .forward                { background-position: 0 0; right: -20px; }
.anythingSlider .back                   { background-position: -67px 0; left: -20px; }
.anythingSlider .forward:hover          { background-position: 0 -200px; }
.anythingSlider .back:hover             { background-position: -67px -200px; }


#thumbNav                               { position: relative; top: 323px; text-align: center; }
#thumbNav a                             { color: black; font-size: 13px; display: inline-block; padding: 2px 8px; height: 18px; margin: 0 5px 0 0; background: #c58b04 url(jquery/jquery-anything-slider/cellshade.png) repeat-x; text-align: center; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; }
#thumbNav a:hover                       { background-image: none; }
#thumbNav a.cur                         { background: #e0a213; }

#start-stop                             { background: green; background-image: url(../images/cellshade.png); background-repeat: repeat-x; color: white; padding: 2px 5px; width: 40px; text-align: center; position: absolute; right: 45px; top: 323px; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; }
#start-stop.playing                     { background-color: red; }
#start-stop:hover                       { background-image: none; }

/*
  Prevents
*/
.anythingSlider .wrapper ul ul          { position: static; margin: 0; background: none; overflow: visible; width: auto; border: 0; }
.anythingSlider .wrapper ul ul li       { float: none; height: auto; width: auto; background: none; }




JavaScript


function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.anythingSlider').anythingSlider({
                easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                delay: 3000,                    // How long between slide transitions in AutoPlay mode
                startStopped: false,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
        		startText: "Go",             // Start text
		        stopText: "Stop",               // Stop text
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#slide-jump").click(function(){
                $('.anythingSlider').anythingSlider(6);
            });
            
        });



jquery.min.js


Click to Download


jquery.easing.1.2.js


Click to Download



jquery.anythingslider.js


Click to Download




Example


Click to DEMO

20 Best Examples of Free jQuery Content Sliders

. 6/15/10
0 comments

Pretty Simple Content Slider

create an auto-playing content slider with jQuery and CSS3. The idea is to alter the background image and to slide in the heading and the description. By clicking on one of the menu items, the auto-play function is stopped and the respective content slides out.

Pretty Simple Content Slider with jQuery and CSS3



3D Gallery with CSS3 and jQuery

With 3D transforms, we can make simple elements more interesting by setting them into three dimensional space. Together with CSS transitions, these elements can be moved in 3D space and create a realistic effect.

3D Gallery with CSS3 and jQuery




Awkward Showcase

Awkward Showcase is a plugin for the JavaScript Framework jQuery. We call it a Content Slider. But it can do more then just slide the content. For example you can add tooltips, enable thumbnails, activate dynamic height and lots more.

Awkward Showcase




Slides, A Slideshow Plugin for jQuery

Slides is a slideshow plugin for jQuery that is built with simplicity in mind. Packed with a useful set of features to help novice and advanced developers alike create elegant and user-friendly slideshows.

Slides, A Slideshow Plugin for jQuery




Nivo Slider

The world's most awesome jQuery & WordPress Image Slider

Nivo Slider




Orbit: A Slick jQuery Image Slider Plugin

We here at ZURB love Orbit so much, that we have included it in our (Awesome) rapid prototyping framework Foundation. We will no longer release updates, or provide support for this version.

Orbit: A Slick jQuery Image Slider Plugin




jFlow

A pretty neat photo slider. It featured in nettut, if you try to make yourself a photo slider. Visit this site.

jFlow




Create Featured Content Slider Using jQuery UI

This is a nice tutorial that teaches you how to “show off the best content of your website or blog in a nice intuitive way” in order to “catch more eyeballs”. One of the techniques to show the featured content is the auto-playing content slider.

Create Featured Content Slider Using jQuery UI




Create Beautiful jQuery sliders tutorial

This tutorial explains how to develop/create Beautiful jQuery sliders tutorial with image description and name.

Create Beautiful jQuery sliders tutorial




A Basic Content Slider With jQuery

A Simple Content Slider Using jQuery By Brenelz's Web Development Tips

A Basic Content Slider With jQuery




JC Play List

free and easy to use Flash component created especially for easy visual representation of multimedia lists such as XMLs, RSS 2.0 feeds from Picasa and Flickr.

JC Play List




Easy Slider

a JQuery Plugin that “enables images or any content to slide horizontally or vertically on click”.

Easy Slider




jqGalScroll

jQuery Gallery Scroller (jqGalScroll) takes list of images and creates a smooth scrolling photo gallery scrolling vertically, horizontally, or diagonally. The plugin will also create pagination to allow you to flow through your photos.

jqGalScroll




Making a Content Slider with jQuery UI

a very well explained step by step tutorial by Dan Wellman for NetTuts.

Making a Content Slider with jQuery UI



Slick Auto-Playing Featured Content Slider

a tutorial written by Chris Coyier from CSS-Tricks.com. This script is based on the Coda Slider. It has additional features such as:

Slick Auto-Playing Featured Content Slider




slideViewer

SlideViewer is a lightweight (1.5Kb) jQuery plugin wich allows to instantly create an image gallery by writing just few lines of HTML such as an unordered list of images.

slideViewer




Start/Stop Slider

Start/Stop Slider




BarackSlideshow

a very tiny and lightweight slideslow script, inspired by the slideshow in Barack Obama website. The script takes the power of MorphList to enhance visualization and navigation of the images.

BarackSlideshow




s3Slider

Creating Featured Slider in Wordpress Theme using JQuery s3Slider

s3Slider




Revolver.js

Revolver is a new content slider that makes no assumptions about your markup. Think of Revolver as a boilerplate or framework for making your own slider, exactly the way you want it.

Revolver

Scrollable Tools using Chaining JQuery Plugin

. 6/10/10
0 comments

Scrollable Tools using Chaining JQuery Plugin

HTML

<!-- wrapper for navigator elements -->
  <div class="navi"><a href="#0" class=""></a><a href="#1" class=""></a><a href="#2" class="active"></a></div>
 
<!-- "previous page" action -->
  <a class="prev browse left"></a>
<!-- root element for scrollable -->
  <div id="chained" class="scrollable"> 
  
  <!-- root element for the items -->
  <!-- 10-15 -->
  <div class="items" style="left: -1366.53px;"><div class="cloned">
  <img src="images/pic-11.jpg" />
  <img src="images/pic-12.jpg" />
  <img src="images/pic-13.jpg" />
  <img src="images/pic-14.jpg" />
  <img src="images/pic-15.jpg" />
  </div>
  
  <!-- 1-5 -->
  <div>
  <img src="images/pic-01.jpg" />
  <img src="images/pic-02.jpg" />
  <img src="images/pic-03.jpg" />
  <img src="images/pic-04.jpg" />
  <img src="images/pic-05.jpg" />
  </div>
  
  <!-- 5-10 -->
  <div>
  <img src="images/pic-06.jpg" />
  <img src="images/pic-07.jpg" />
  <img src="images/pic-08.jpg" />
  <img src="images/pic-09.jpg" />
  <img src="images/pic-10.jpg" />
  </div>
  
  <!-- 10-15 -->
  <div>
  <img src="images/pic-11.jpg" />
  <img src="images/pic-12.jpg" />
  <img src="images/pic-13.jpg" />
  <img src="images/pic-14.jpg" />
  <img src="images/pic-15.jpg" />
  </div>
  
  <!-- 1-5 -->
  <div class="cloned">
  <img src="images/pic-01.jpg" />
  <img src="images/pic-02.jpg" />
  <img src="images/pic-03.jpg" />
  <img src="images/pic-04.jpg" />
  <img src="images/pic-05.jpg" />
  </div></div>
  
  </div>
<!-- "next page" action -->
  <a class="next browse right"></a>

CSS

.scrollable img {
 width:100px;
 margin:20px 5px 20px 21px; 
}

.scrollable img.hover {
 background-color:#123; 
}

CSS - Standalone

a:active {
  outline:none;
}

:focus {
  -moz-outline-style:none;
}

CSS - Horizontal Scrollable

.scrollable .items {
 /* this cannot be too large */
 width:20000em;
 position:absolute;
 clear:both;
 left: -1px;
 top: 3px;
}

.items div {
 float:left;
 width:680px;
}

/* single scrollable item */
.scrollable img {
 float:left;
 margin:20px 5px 20px 21px;
 background-color:#fff;
 padding:2px;
 border:1px solid #ccc;
 width:100px;
 height:75px;
 
 -moz-border-radius:4px;
 -webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
 border:2px solid #000;
 position:relative;
 cursor:default;
}

CSS - Scrollable Buttons

/* this makes it possible to add next button beside scrollable */
.scrollable {
 float:left; 
}

/* prev, next, prevPage and nextPage buttons */
a.browse {
 background:url(../images/hori_large.png) no-repeat;
 display:block;
 width:30px;
 height:30px;
 float:left;
 margin:40px 10px;
 cursor:pointer;
 font-size:1px;
}

/* right */
a.right   { background-position: 0 -30px; clear:right; margin-right: 0px;}
a.right:hover  { background-position:-30px -30px; }
a.right:active  { background-position:-60px -30px; } 


/* left */
a.left   { margin-left: 0px; } 
a.left:hover   { background-position:-30px 0; }
a.left:active   { background-position:-60px 0; }

/* up and down */
a.up, a.down  { 
 background:url(../images/vert_large.png) no-repeat; 
 float: none;
 margin: 10px 50px;
}

/* up */
a.up:hover   { background-position:-30px 0; }
a.up:active   { background-position:-60px 0; }

/* down */
a.down    { background-position: 0 -30px; }
a.down:hover   { background-position:-30px -30px; }
a.down:active   { background-position:-60px -30px; } 


/* disabled navigational button */
a.disabled {
 visibility:hidden !important;  
}    

CSS - Scrollable Navigator

/* position and dimensions of the navigator */
.navi {
 margin-left:350px;
 width:200px;
 height:20px;
}


/* items inside navigator */
.navi a {
 width:8px;
 height:8px;
 float:left;
 margin:3px;
 background:url(../images/navigator.png) 0 0 no-repeat;
 display:block;
 font-size:1px;
}

/* mouseover state */
.navi a:hover {
 background-position:0 -8px;      
}

/* active state (current page state) */
.navi a.active {
 background-position:0 -16px;     
}  

JavaScript

$(document).ready(function() {
$("#chained").scrollable({circular: true, mousewheel: true}).navigator().autoscroll({
 interval: 3000  
}); 
});

jquery.tools.min.js

Click to Download

Example

Click to DEMO

Scrollable Tools using JQuery Plugin Auto Play

.
0 comments

Scrollable Tools using Jquery Plugin Auto Play

HTML


<!-- "previous page" action -->
  <a class="prev browse left"></a>
<!-- root element for scrollable -->
  <div id="scroller" class="scrollable"> 
  
  <!-- root element for the items -->
  <div class="items" style="left: -680px;"><div class="cloned">
  <img src="images/pic-11.jpg" />
  <img src="images/pic-12.jpg" />
  <img src="images/pic-13.jpg" />
  <img src="images/pic-14.jpg" />
  <img src="images/pic-15.jpg" />
  </div>
  
  <!-- 1-5 -->
  <div>
  <img src="images/pic-01.jpg" />
  <img src="images/pic-02.jpg" />
  <img src="images/pic-03.jpg" />
  <img src="images/pic-04.jpg" />
  <img src="images/pic-05.jpg" />
  </div>
  
  <!-- 5-10 -->
  <div>
  <img src="images/pic-06.jpg" />
  <img src="images/pic-07.jpg" />
  <img src="images/pic-08.jpg" />
  <img src="images/pic-09.jpg" />
  <img src="images/pic-10.jpg" />
  </div>
  
  <!-- 10-15 -->
  <div>
  <img src="images/pic-11.jpg" />
  <img src="images/pic-12.jpg" />
  <img src="images/pic-13.jpg" />
  <img src="images/pic-14.jpg" />
  <img src="images/pic-15.jpg" />
  </div>
  
  <div class="cloned">
  <img src="images/pic-01.jpg" />
  <img src="images/pic-02.jpg" />
  <img src="images/pic-03.jpg" />
  <img src="images/pic-04.jpg" />
  <img src="images/pic-05.jpg" />
  </div></div>
  
  </div>
<!-- "next page" action -->
  <a class="next browse right"></a>




CSS


#actionButtons {
	text-align:center;
	margin-top:10px;
}




CSS - Standalone


a:active {
  outline:none;
}

:focus {
  -moz-outline-style:none;
}



CSS - Horizontal Scrollable

.scrollable .items {
	/* this cannot be too large */
	width:20000em;
	position:absolute;
	clear:both;
	left: -1px;
	top: 3px;
}

.items div {
	float:left;
	width:680px;
}

/* single scrollable item */
.scrollable img {
	float:left;
	margin:20px 5px 20px 21px;
	background-color:#fff;
	padding:2px;
	border:1px solid #ccc;
	width:100px;
	height:75px;
	
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
	border:2px solid #000;
	position:relative;
	cursor:default;
}



CSS - Scrollable Buttons


/* this makes it possible to add next button beside scrollable */
.scrollable {
	float:left;	
}

/* prev, next, prevPage and nextPage buttons */
a.browse {
	background:url(../images/hori_large.png) no-repeat;
	display:block;
	width:30px;
	height:30px;
	float:left;
	margin:40px 10px;
	cursor:pointer;
	font-size:1px;
}

/* right */
a.right 		{ background-position: 0 -30px; clear:right; margin-right: 0px;}
a.right:hover 	{ background-position:-30px -30px; }
a.right:active 	{ background-position:-60px -30px; } 


/* left */
a.left			{ margin-left: 0px; } 
a.left:hover  	{ background-position:-30px 0; }
a.left:active  	{ background-position:-60px 0; }

/* up and down */
a.up, a.down		{ 
	background:url(../images/vert_large.png) no-repeat; 
	float: none;
	margin: 10px 50px;
}

/* up */
a.up:hover  	{ background-position:-30px 0; }
a.up:active  	{ background-position:-60px 0; }

/* down */
a.down 			{ background-position: 0 -30px; }
a.down:hover  	{ background-position:-30px -30px; }
a.down:active  	{ background-position:-60px -30px; } 


/* disabled navigational button */
a.disabled {
	visibility:hidden !important;		
} 	 	



JavaScript


$(document).ready(function() {
var root = $("#scroller").scrollable({circular: true}).autoscroll({ autoplay: false });
window.api = root.data("scrollable");
});



jquery.tools.min.js


Click to Download



Example


Click to DEMO

Scrollable Navigational System

.
0 comments

Scrollable Navigational System

HTML


<!-- main navigator -->
  <ul id="main_navi">

<li class="active"> <img src="images/seagram-building-thumb.jpg"/> <strong>Seagram Building</strong> New York City, United States </li> <li> <img src="images/barcelona-pavilion-thumb.jpg"/> <strong>Barcelona Pavilion</strong> Barcelona, Spain </li> <li> <img src="images/new-national-gallery-thumb.jpg" /> <strong>New National Gallery</strong> Berlin, Germany </li> </ul> <!-- root element for the main scrollable --> <div id="main"> <!-- root element for pages --> <div id="pages"> <!-- page #1 --> <div class="page"> <!-- sub navigator #1 --> <div class="navi"></div> <!-- inner scrollable #1 --> <div class="scrollable"> <!-- root element for scrollable items --> <div class="items"> <!-- items --> <div class="item"> <img src="images/seagram-building-01.jpg" /> </div> <div class="item"> <img src="images/seagram-building-02.jpg" /> </div> <div class="item"> <img src="images/seagram-building-03.jpg" /> </div> </div> </div> </div> <!-- page #2 --> <div class="page"> <div class="navi"></div> <!-- inner scrollable #2 --> <div class="scrollable"> <!-- root element for scrollable items --> <div class="items"> <!-- items on the second page --> <div class="item"> <img src="images/barcelona-pavilion-01.jpg" /> </div> <div class="item"> <img src="images/barcelona-pavilion-02.jpg" /> </div> <div class="item"> <img src="images/barcelona-pavilion-03.jpg" /> </div> </div> </div> </div> <!-- page #3 --> <div class="page"> <div class="navi"></div> <!-- inner scrollable #3 --> <div class="scrollable"> <!-- root element for scrollable items --> <div class="items"> <!-- items on the first page --> <div class="item"> <img src="images/new-national-gallery-01.jpg" /> </div> <div class="item"> <img src="images/new-national-gallery-02.jpg" /> </div> <div class="item"> <img src="images/new-national-gallery-03.jpg" /> </div> </div> </div> </div> </div> </div>



CSS - Standalone


a:active {
  outline:none;
}

:focus {
  -moz-outline-style:none;
}



CSS - Scrollable

 /* main vertical scroll */
 #main {
  position:relative;
  overflow:hidden;
  height: 450px;
 }
 
 /* root element for pages */
 #pages {
  position:absolute;
  height:20000em;
 }
 
 /* single page */
 .page {
  padding:10px;
  height: 450px;
  background:#222 url(../images/bg.png) 0 0 repeat-x;
  width:520px;
 }
 
 /* root element for horizontal scrollables */
 .scrollable {
  position:relative;
  overflow:hidden;
  width: 510px;
  height: 450px;
 }
 
 /* root element for scrollable items */
 .scrollable .items {
  width:20000em;
  position:absolute;
  clear:both;
 }
 
 /* single scrollable item */
 .item {
  float:left;
  cursor:pointer;
  width:500px;
  height:450px;
  padding:10px;
 }
 
 /* main navigator */
 #main_navi {
  float:left;
  padding:0px !important;
  margin:0px !important;
 }
 
 #main_navi li {
  background-color:#333;
  border-top:1px solid #666;
  clear:both;
  color:#FFFFFF;
  font-size:12px;
  height:75px;
  list-style-type:none;
  padding:10px;
  width:190px;
  cursor:pointer;
 }
 
 #main_navi li:hover {
  background-color:#444;
 }
 
 #main_navi li.active {
  background-color:#555;
 }
 
 #main_navi img {
  float:left;
  margin-right:10px;
 }
 
 #main_navi strong {
  display:block;
 }
 
 #main div.navi {
  margin-left:250px;
  cursor:pointer;
 }



CSS - Scrollable Navigator


.scrollable {
 float:left; 
}

/* prev, next, prevPage and nextPage buttons */
a.prev, a.next, a.prevPage, a.nextPage {
 display:block;
 width:18px;
 height:18px;
 background:url(../images/left.png) no-repeat;
 float:left;
 margin:43px 10px;
 cursor:pointer;
 font-size:1px;
}

/* mouseover state */
a.prev:hover, a.next:hover, a.prevPage:hover, a.nextPage:hover {
 background-position:0px -18px;  
}

/* disabled navigational button */
a.disabled {
 visibility:hidden !important;  
}

/* next button uses another background image */
a.next, a.nextPage {
 background-image:url(../images/right.png);
 clear:right; 
}  



JavaScript


$(document).ready(function() {
$("#main").scrollable({
 vertical: true,
 keyboard: 'static',
 onSeek: function(event, i) {
  horizontal.eq(i).data("scrollable").focus();
 }
}).navigator("#main_navi");
var horizontal = $(".scrollable").scrollable({ circular: true }).navigator(".navi");
horizontal.eq(0).data("scrollable").focus();
});



jquery.tools.min.js


Click to Download



Example


Click to DEMO

Scrollable Tools using Jquery Plugin

.
0 comments

Scrollable Tools using Jquery Plugin

HTML


<!-- "previous page" action -->
  <a class="prev browse left"></a>
<!-- root element for scrollable -->
  <div class="scrollable"> 
  
  <!-- root element for the items -->
  <div class="items">
  
  <!-- 1-5 -->
  <div>
  <img src="images/pic-01.jpg" />
  <img src="images/pic-02.jpg" />
  <img src="images/pic-03.jpg" />
  <img src="images/pic-04.jpg" />
  <img src="images/pic-05.jpg" />
  </div>
  
  <!-- 5-10 -->
  <div>
  <img src="images/pic-06.jpg" />
  <img src="images/pic-07.jpg" />
  <img src="images/pic-08.jpg" />
  <img src="images/pic-09.jpg" />
  <img src="images/pic-10.jpg" />
  </div>
  
  <!-- 10-15 -->
  <div>
  <img src="images/pic-11.jpg" />
  <img src="images/pic-12.jpg" />
  <img src="images/pic-13.jpg" />
  <img src="images/pic-14.jpg" />
  <img src="images/pic-15.jpg" />
  </div>

  </div>
  
  </div>
<!-- "next page" action -->
  <a class="next browse right"></a>





CSS - Standalone


a:active {
  outline:none;
}

:focus {
  -moz-outline-style:none;
}



CSS - Horizontal Scrollable

.scrollable .items {
 /* this cannot be too large */
 width:20000em;
 position:absolute;
 clear:both;
 left: -1px;
 top: 3px;
}

.items div {
 float:left;
 width:680px;
}

/* single scrollable item */
.scrollable img {
 float:left;
 margin:20px 5px 20px 21px;
 background-color:#fff;
 padding:2px;
 border:1px solid #ccc;
 width:100px;
 height:75px;
 
 -moz-border-radius:4px;
 -webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
 border:2px solid #000;
 position:relative;
 cursor:default;
}



CSS - Scrollable Buttons


/* this makes it possible to add next button beside scrollable */
.scrollable {
 float:left; 
}

/* prev, next, prevPage and nextPage buttons */
a.browse {
 background:url(../images/hori_large.png) no-repeat;
 display:block;
 width:30px;
 height:30px;
 float:left;
 margin:40px 10px;
 cursor:pointer;
 font-size:1px;
}

/* right */
a.right   { background-position: 0 -30px; clear:right; margin-right: 0px;}
a.right:hover  { background-position:-30px -30px; }
a.right:active  { background-position:-60px -30px; } 


/* left */
a.left   { margin-left: 0px; } 
a.left:hover   { background-position:-30px 0; }
a.left:active   { background-position:-60px 0; }

/* up and down */
a.up, a.down  { 
 background:url(../images/vert_large.png) no-repeat; 
 float: none;
 margin: 10px 50px;
}

/* up */
a.up:hover   { background-position:-30px 0; }
a.up:active   { background-position:-60px 0; }

/* down */
a.down    { background-position: 0 -30px; }
a.down:hover   { background-position:-30px -30px; }
a.down:active   { background-position:-60px -30px; } 


/* disabled navigational button */
a.disabled {
 visibility:hidden !important;  
}    



JavaScript


$(function() {
 $(".scrollable").scrollable();
});



jquery.tools.min.js


Click to Download


Example


Click to DEMO