Download
Demo
- Overview
- Documents
User Rating: 4.8/5 ( 2 votes)
Your Rating:
Description:
✓ Support All Modern Browsers And IE7 Or Above
✓ Responsive
✓ No Need CSS
✓ Class Prefix To Prevent Conflict With Classes From Other CSS Files
✓ Full Style Control With JS
✓ Full Navigation Control
✓ Full Control Of The Position Of All Elements
✓ Support Images With Different Dimensions
✓ Automatic Resizing And Centering Of Images
✓ Multiple Instances
✓ Titles And Descriptions
✓ Keys Press Listening (← And →)
✓ Mouse Wheel Listening
✓ External Functions (Go To Previous, Go To Next, Go To)
✓ 24 Transition Effects
And More And More...
Source: artdesign-bg.com
1. INCLUDE JS FILES
<script type="text/javascript" src="JS/jQuery.js"></script> <script type="text/javascript" src="JS/jQueryEasing.js"></script> <script type="text/javascript" src="JS/jQueryMouseWheel.js"></script> <script type="text/javascript" src="JS/ArtDesignSlider.js"></script>
2. HTML
<div id="ArtDesignSlider">
<ul>
<li data-slider-title="Title 1" data-slider-description="Description 1">
<img src="Slider/1.jpg"/>
</li>
<li data-slider-title="Title 2" data-slider-description="Description 2">
<img src="Slider/2.jpg"/>
</li>
<li data-slider-title="Title 3" data-slider-description="Description 3">
<img src="Slider/3.jpg"/>
</li>
<li data-slider-title="Title 4" data-slider-description="Description 4">
<img src="Slider/4.jpg"/>
</li>
<li data-slider-title="Title 5" data-slider-description="Description 5">
<img src="Slider/5.jpg"/>
</li>
<li data-slider-title="Title 6" data-slider-description="Description 6">
<img src="Slider/6.jpg"/>
</li>
<li data-slider-title="Title 7" data-slider-description="Description 7">
<img src="Slider/7.jpg"/>
</li>
</ul>
</div>
3. JAVASCRIPT
$(document).ready(function() {
$("#ArtDesignSlider").ArtDesignSlider();
});
4. OPTIONS
ClassPrefix : "Sl_",
SliderResponsive : true,
SliderWidth : 550,
SliderHeight : 250,
AnimationEffectsAndSpeed : [
{
Name: "Fade",
Speed: 1000
},
{
Name: "BlindsVerticalFadeToRight",
Speed: 600,
Percent: 6,
Delay: 100
},
{
Name: "BlindsVerticalFadeToLeft",
Speed: 600,
Percent: 6,
Delay: 100
},
{
Name: "BlindsHorizontalFadeToBottom",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalFadeToTop",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsVerticalTopBottomSlide",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsVerticalSlideToBottomToRight",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsVerticalSlideToBottomToLeft",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsVerticalSlideToTopToRight",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsVerticalSlideToTopToLeft",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsVerticalTopBottomSlideToRight",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsVerticalTopBottomSlideToLeft",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalLeftRightSlide",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalSlideToRightToBottom",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalSlideToRightToTop",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalSlideToLeftToBottom",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalSlideToLeftToTop",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalLeftRightSlideToBottom",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BlindsHorizontalLeftRightSlideToTop",
AnimationFx: "easeOutBack",
Speed: 600,
Percent: 8,
Delay: 100
},
{
Name: "BoxFadeToRight",
Speed: 600,
Percent: 12,
Delay: 100
},
{
Name: "BoxFadeToLeft",
Speed: 600,
Percent: 12,
Delay: 100
},
{
Name: "BoxFadeToBottom",
Speed: 600,
Percent: 12,
Delay: 100
},
{
Name: "BoxFadeToTop",
Speed: 600,
Percent: 12,
Delay: 100
},
{
Name: "BoxFadeRandom",
Speed: 600,
Percent: 12,
Delay: 80
}
],
Repeat : true,
PathToImages : "http://www.artdesign-bg.com/FrontEnd/Engine/PlugIns/JQueryArtDesignSlider/Includes/Images/Light/",
CornersWidth : 20,
CornersHeight : 20,
SpaceTopHeight : 20,
SpaceBottomHeight : 20,
SpaceLeftWidth : 26,
SpaceRightWidth : 26,
StartImage : 1,
StartZIndex : 9999,
ElementStopMouseWheel : "body",
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Navigation : true,
NavigationShowNumber : false,
NavigationLeftWidth : 13,
NavigationLeftHeight : 26,
NavigationRightWidth : 13,
NavigationRightHeight : 26,
NavigationButtonMarginLeft : 2,
NavigationButtonMarginRight : 2,
NavigationPosition : "Center", //Left, Center, Right
NavigationVertical : 0,
NavigationMarginLeft : 0,
NavigationMarginRight : 0,
NavigationButtonWidth : 22,
NavigationButtonHeight : 26,
NavigationColor : "#888888",
NavigationColorHover : "#CCCCCC",
NavigationFont : "sans-serif",
NavigationFontSize : 8,
NavigationFontWeight : "bold",
NavigationTextLineHeight : 3.2,
NavigationTextAlign : "center",
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
PrevNext : true,
PrevNextShowSymbol : true,
PrevSymbol : "«",
PrevWidth : 26,
PrevHeight : 26,
PrevPosition : "Center", //Top, Center, Bottom
PrevHorizontal : 0,
PrevVertical : 0,
PrevColor : "#BBBBBB",
PrevColorHover : "#9D9D9D",
PrevFont : "sans-serif",
PrevFontSize : 16,
PrevFontWeight : "bold",
PrevTextLineHeight : 1.6,
PrevTextAlign : "center",
NextSymbol : "»",
NextWidth : 26,
NextHeight : 26,
NextPosition : "Center", //Top, Center, Bottom
NextHorizontal : 0,
NextVertical : 0,
NextColor : "#BBBBBB",
NextColorHover : "#9D9D9D",
NextFont : "sans-serif",
NextFontSize : 16,
NextFontWeight : "bold",
NextTextLineHeight : 1.6,
NextTextAlign : "center",
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Title : true,
TitlePosition : "Left",
TitleVertical : -5,
TitleMarginLeft : 0,
TitleMarginRight : 0,
TitleColor : "#BBBBBB",
TitleFont : "sans-serif",
TitleFontSize : 13,
TitleFontWeight : "bold",
TitleTextLineHeight : 1.8,
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Description : true,
DescriptionPaddingTop : 10,
DescriptionPaddingBottom : 10,
DescriptionPaddingLeft : 20,
DescriptionPaddingRight : 20,
DescriptionColor : "#CCCCCC",
DescriptionFont : "sans-serif",
DescriptionFontSize : 12,
DescriptionFontWeight : "bold",
DescriptionTextLineHeight: 1.8,
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
FadeSpeed : 250
JS Tutorial
