Categories

“Faded” Slider

Template-help.com Team November 15, 2010
Rating: 5.0/5. From 2 votes.
Please wait...
This is a Slider Script that uses fade effect for slide change transition effects. This slider could be used not only for images but for various content blocks as well. You can find full installation and configuration instructions by following this link.

JavaScript
In order to make the script work, the index-#.html file with a slider should contain these lines of HTML code in order to include the jquery.faded.js script and the jQuery framework:

The <head> section of the index-#.html (or the section just before the closing </body> tag) file contains these lines of code that initialize the script functionality with basic values:

This script is initialized with a <div> element with the #faded id. Script attributes define the following values:

•    speed: 300 – sets animation speed;
•    crossfade: false – crossfades content;
•    bigtarget: false – click content for next;
•    loading: false – for images only, checks if first image is loaded before showing it;
•    autoheight: false – auto adjust height;
•    pagination: “pagination – sets true and class name for pagination; set to false to disable this feature;
•    autopagination: true – set to true to auto generate pagination;
•    nextbtn: “next” – next button class;
•    prevbtn: “prev” – previous button class;
•    loadingimg: false – location of loading image (e.g. /img/loading.gif) if using loading;
•    autoplay: false – auto play of content (set to positive number for true); also sets time interval (use 1000 for 1 second);
•    autorestart: false – auto restart if auto play stopped (set to positive number for true); also sets time interval (use 1000 for 1 second);
•    random: false – set to true to randomize order.

HTML
Below you can see the HTML script representation for images:

In order to add a slide you will just need to add an image (<img> tag):


Below you can see the HTML script representation for various content:

In order to add a slide you will just need to a bulleted list item (<li> tag):



CSS
You can find script related stylesheet in the main style.css file. You will need to modify the following styles:
This entry was posted in Slider and tagged jQuery, slider. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket