ALL IN ONE - CONTENT SLIDER
Thank you for purchasing our product!
The product uses allinone_contentSlider.css file which contains the skin and texts classes
The images used by the skins are located in this folder and distributed in subfolders with the skin name.
All the .js files are located in this folder. The product uses jquery. The product is generated by allinone_contentSlider.js
We put all the images in this folder. If needed, you can use a different one.
For your convenience we've created for each skin a .html file. In each file you'll find all the necessary code for implementation for each skin.
HTML/JS code for implementation
Step 1: Copy on your server/project the following files and folders: images, js, skins, allinone_contentSlider.css. Of course you can move the files in other folders, but you'll take care to correct the paths to the files
Step 2: Open the .html file associated with the skin you want to use. For example, if you want to use "Imposing" skin open imposing.html
Step 3: Put the below code in the <head> section of your file. This code has to be copied from the <head> section of the file you opened (EX: imposing.html) to assure you include the skin correctly.
<!-- must have -->
<link href="allinone_contentSlider.css" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Cabin' rel='stylesheet' type='text/css'>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
<script src="js/jquery.ui.touch-punch.min.js" type="text/javascript"></script>
<script src="js/allinone_contentSlider.js" type="text/javascript"></script>
<!--[if IE]><script src="js/excanvas.compiled.js" type="text/javascript"></script><![endif]-->
<!-- must have -->
<script>
jQuery(function() {
jQuery('#allinone_contentSlider_imposing').allinone_contentSlider({
skin: 'imposing',
width: 918,
height: 382,
autoHideBottomNav:false,
showPreviewThumbs:false,
autoPlay:5
});
});
</script>
Step 4: In the <body> section copy the code below. This code has to be copied from the <body> section of the file you opened (EX: imposing.html) to assure you include the skin correctly.
<div id="allinone_contentSlider_imposing">
<!-- CONTENT -->
<ul class="allinone_contentSlider_list">
<li><iframe width="918" height="382" src="http://www.youtube.com/embed/ovOgvGH0HTk" frameborder="0" allowfullscreen></iframe></li>
<li data-text-id="#allinone_contentSlider_photoText2"><img src="images/imposing/02_imposing.jpg" alt="" /></li>
<li><iframe src="http://player.vimeo.com/video/20009714?title=0&byline=0&portrait=0" width="918" height="382" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></li>
<li data-text-id="#allinone_contentSlider_photoText4"> <img src="images/imposing/04_imposing.jpg" alt="" /> </li>
</ul>
<!-- TEXTS -->
<div id="allinone_contentSlider_photoText2" class="allinone_contentSlider_texts">
<div class="allinone_contentSlider_text_line" data-initial-left="0" data-initial-top="0" data-final-left="590" data-final-top="0" data-duration="0.5" data-fade-start="0" data-delay="0">
<div id="topimposingTextBgLeft2">
<div class="textElement21_imposing">perspiciatis unde omnis iste natus</div>
<div class="textElement22_imposing">Itaque earum rerum hic tenetur a sapiente delectus</div>
<div id="textElement2_imposing_list">
<ul>
<li>set the transition for each image lorem ipsum dolor</li>
<li>Et harum quidem rerum facilis est et expedita distinctio.</li>
<li>Itaque earum rerum hic tenetur a sapiente delectus</li>
</ul>
</div>
</div>
</div>
</div>
<div id="allinone_contentSlider_photoText4" class="allinone_contentSlider_texts">
<div class="allinone_contentSlider_text_line" data-initial-left="0" data-initial-top="0" data-final-left="590" data-final-top="0" data-duration="0.5" data-fade-start="0" data-delay="0">
<div id="topimposingTextBgLeft4">
<div class="textElement41_imposing">perspiciatis unde omnis iste natus</div>
<div class="textElement42_imposing">Itaque earum rerum hic tenetur a sapiente delectus</div>
<div id="textElement4_imposing_list">
<ul>
<li>set the transition for each image lorem ipsum dolor</li>
<li>Et harum quidem rerum facilis est et expedita distinctio.</li>
<li>Itaque earum rerum hic tenetur a sapiente delectus</li>
</ul>
</div>
</div>
</div>
</div>
<!-- -->
</div>
Attribute | Default Value | Description |
General settings | ||
skin | 'imposing' | Possible values: - common - surprise - imposing |
responsive |
false | Possible values: true - the banner will responsive false - the banner will not be responsive |
responsiveRelativeToBrowser | true | Possible values: true - the banner will be responisve relatively to browser dimensions false - the banner will be responisve relatively to parent div |
width | 918 | banner width |
height | 382 | banner height |
width100Proc | false | Possible values: true - the banner width will be 100% false - the banner width will be what you've set for 'width' parameter |
autoPlay | 4 | You can define the time (in seconds) until the next content will play. If you set it 0 the banner will not autoplay |
loop | true | Possible values: true - the banner will loop when reaches the end false - the banner will stop when reaches the end |
target | '_blank' | Possible values: '_blank' - the link associated to the primary photo will open in a new window '_slef'- the link associated to the primary photo will open in the same window |
absUrl | the url to the skins folder. | |
enableTouchScreen | true | Possible values: true - mobile touch screen support enabled false - mobile touch screen support disabled |
Controllers Settings | ||
showAllControllers | true | Possible values: true - all controllers will appear (next, previous, bottom navigation) false - all controllers will not appear (next, previous, bottom navigation) |
showNavArrows | true | Possible values: true - next, previous buttons will appear false - next, previous buttons will not appear |
showOnInitNavArrows | true | Possible values: true - next, previous buttons will appear on first banner init false - next, previous buttons will not appear on first banner init |
autoHideNavArrows | true | Possible values: true - next, previous buttons will hide when mouse out false - next, previous buttons will not hide when mouse out |
showBottomNav | true | Possible values: true - bottom navigation buttons will appear false -bottom navigation buttons will not appear |
showOnInitBottomNav | true | Possible values: true - bottom navigation buttons will appear on first banner init false - bottom navigations buttons will not appear on first banner init |
autoHideBottomNav | true | Possible values: true -bottom navigations buttons will hide when mouse out false - bottom navigations buttons will not hide when mouse out |
showPreviewThumbs | true | Possible values: true - a preview image will appear on hovering each bottom button false - the preview image will not appear on hovering each bottom button |
thumbsWrapperMarginBottom | 0 | the vertical pozition of the bottom navigation area |
Circle Timer Settings | ||
showCircleTimer | true | Possible values: true - shows the circle timer false - hides the circle timer |
showCircleTimerIE8IE7 | false | Because IE8 & IE7 don't have HTML5 support the circle animation will not be very good in this two browsers. We recommend to hide the circle in IE7 & IE8 Possible values: true - shows the circle timer in IE7 & IE8 false - hides the circle timer in IE7 & IE8 |
circleRadius | 10 | circle radius |
circleLineWidth | 4 | circle line width |
circleColor | "#FF0000" | circle color, in hexa |
circleAlpha | 100 | circle alpha, in percents. Posible values 0-100 |
behindCircleColor | "#000000" | behind circle color, in hexa |
behindCircleAlpha | 50 | behind circle alpha, in percents. Posible values 0-100 |
Example of usage:
jQuery('#allinone_contentSlider_imposing').allinone_contentSlider({
skin: 'imposing',
width: 918,
height: 382,
autoPlay:0,
autoHideBottomNav:false,
showPreviewThumbs:false
});
Inside
the main div (ex: <div id="allinone_thumbnailsBanner_imposing">) you'll add a list:
<ul class="allinone_contentSlider_list">
Inside this list you'll add each screen content you want to be present in your banner. The code is:
<li>html content here</li>
Example of usage:
<div id="allinone_thumbnailsBanner_imposing">
<ul class="allinone_contentSlider_list">
<li>html content1 here</li>
<li>html content2 here</li>
<li>html content3 here</li>
</ul>
</div>
The <li> element can have optional paramenters.
Optional parameters:
Parameter | Ex. of usage | Description |
data-text-id | <li data-text-id="#text_id_animation">html content here</li> | Used to define the div id which will hold the animated text appearing over the content |
data-video | <li data-video="true">html content here</li> | This parameter has to appear if you have video content beneath main photo |
data-bottom-thumb | <li data-text-id="#text_id_animation" data-bottom-thumb="images/imposing/thumbs/thumb1.jpg">html content here</li> | A preview image will appear on hovering the corresponding bottom button |
data-link | <li data-text-id="#text_id_animation"data-link="http://codecanyon.net/user/LambertGroup/portfolio">html content here</li> | You can specify a link associated to the primary photo |
data-target | <li data-text-id="#text_id_animation"data-link="http://codecanyon.net/user/LambertGroup/portfolio"data-target="_self">html content here</li> | Possible values: *** If all your links will behave the same, you can ignore this parameter and use target from JS options |
For each image you can define animated text. All texts associated with a photo will reside inside a div. The div id will be put as optional parameter "data-text-id"
<li data-text-id="#text_id_animation">html content here</li>
The div containing the text will look like this. What you see below with red are mandatory classes:
<div id="text_id_animation" class="allinone_contentSlider_texts">
<div class="allinone_contentSlider_text_line particular_customizing1" data-initial-left="50" data-initial-top="10" data-final-left="50" data-final-top="40" data-duration="0.5" data-fade-start="0" data-delay="0">Line 1</div>
<div class="allinone_contentSlider_text_line particular_customizing2" data-initial-left="50" data-initial-top="10" data-final-left="50" data-final-top="70" data-duration="0.5" data-fade-start="0" data-delay="0.3">Line 2</div>
</div>
For each line of text you can create a separate css class (Ex: particular_customizing1) to customize the text line. Also, each text line has the following optional parameters to control the text animation
Parameter | Description |
data-initial-left | the text left initial postion (in pixels) |
data-initial-top | the text top initial postion (in pixels) |
data-final-left | the text left final postion (in pixels) |
data-final-top | the text top final postion (in pixels) |
data-duration | the animation duration (in seconds) |
data-fade-start | initial fade value. Values from 0 to 100 |
data-delay | delay time (in seconds) |