<HTML>
<script type="text/javascript" src="jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="jquery.orbit-1.2.3.min.js"></script>
<link rel="stylesheet" href="orbit-1.2.3.css">
<script type="text/javascript">
$(window).load(function() {
$('#featured').orbit();
});
$('#featured').orbit({
animation: 'fade', // fade, horizontal-slide, vertical-slide, horizontal-push
animationSpeed: 1, // how fast animtions are
timer: false, // true or false to have the timer
advanceSpeed: 1000000, // if timer is enabled, time between transitions
pauseOnHover: true, // if you hover pauses the slider
startClockOnMouseOut: false, // if clock should start on MouseOut
startClockOnMouseOutAfter: 0, // how long after MouseOut should the timer start again
directionalNav: true, // manual advancing directional navs
bullets: false, // true or false to activate the bullet navigation
bulletThumbs: false, // thumbnails for the bullets
bulletThumbLocation: '', // location from this file where thumbs will be
afterSlideChange: function(){} // empty function
});
</script>
<style type="text/css">
#featured {
width: 640px;
height: 800px;
background: #000 url('orbit/loading.gif') no-repeat center center; overflow: hidden; }
#featured img,
#featured div { display: none; }
</style>
<div id="featured">
<
<img src="images/0.png" alt="Overflow: Hidden No More" />
<img src="images/1.png" alt="Overflow: Hidden No More" />
<img src="images/2.png" alt="Overflow: Hidden No More" />
<img src="images/3.png" alt="Overflow: Hidden No More" />
<img src="images/4.png" alt="Overflow: Hidden No More" />
<img src="images/5.png" alt="Overflow: Hidden No More" />
<img src="images/6.png" alt="Overflow: Hidden No More" />
<img src="images/7.png" alt="Overflow: Hidden No More" />
<img src="images/8.png" alt="Overflow: Hidden No More" />
</div>
</div>
</body>
</html>
</HTML>
/* CSS for jQuery Orbit Plugin 1.2.3
* www.ZURB.com/playground
* Copyright 2010, ZURB
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
================================================== */
#featured {
width: 940px;
height: 450px;
background: #000 url('orbit/loading.gif') no-repeat center center;
overflow: hidden; }
#featured>img,
#featured>div,
#featured>a { display: none; }
/* CONTAINER
================================================== */
div.orbit-wrapper {
width: 1px;
height: 1px;
position: relative; }
div.orbit {
width: 1px;
height: 1px;
position: relative;
overflow: hidden }
div.orbit>img {
position: absolute;
top: 0;
left: 100;
display: none; }
div.orbit>a {
border: none;
position: absolute;
top: 0;
left: 100;
line-height: 0;
display: none; }
.orbit>div {
position: absolute;
top: 0;
left: 100;
width: 100%;
height: 100%; }
/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
/* DIRECTIONAL NAV
================================================== */
div.slider-nav {
display: block }
div.slider-nav span {
width: 78px;
height: 100px;
text-indent: -9999px;
position: absolute;
z-index: 1000;
top: 50%;
margin-top: -50px;
cursor: pointer; }
div.slider-nav span.right {
background: url(orbit/right-arrow.png);
right: 20; }
div.slider-nav span.left {
background: url(orbit/left-arrow.png);
left: 20; }
/* BULLET NAV
================================================== */
.orbit-bullets {
position: absolute;
z-index: 1000;
list-style: none;
bottom: -40px;
left: 50%;
margin-left: -50px;
padding: 0; }
.orbit-bullets li {
float: left;
margin-left: 5px;
cursor: pointer;
color: #999;
text-indent: -9999px;
background: url(orbit/bullets.jpg) no-repeat 4px 0;
width: 13px;
height: 12px;
overflow: hidden; }
.orbit-bullets li.active {
color: #222;
background-position: -8px 0; }
.orbit-bullets li.has-thumb {
background: none;
width: 100px;
height: 75px; }
.orbit-bullets li.active.has-thumb {
background-position: 0 0;
border-top: 2px solid #000; }