ddl DDL-Turkey :: PHP Scripts, Clone Scripts and Templates for Webmasters

 
show me
popularity
news
 
added
author
mirror
Categories
TOP-Partner
PHP Scripts

JQuery 5 Besten Custom Plugins (Rotator/AJAX Slideshow)

Date: 18-09-2010, 01:28  |  Author : cleverwarez  |  Comments: (6)  |  Views: 3827  |  Print   
  
JQuery 5 besten Custom Plugins (Rotator/AJAX Slideshow)


It’s really amazing to see what one can create using jQuery. Developers just don’t stop making incredibly interactive web applications every now and then. This post just demonstrates excellent examples of some of the best custom jQuery plugins out there.

 
- jShowOff: a jQuery Content Rotator Plugin

jShowOff is a jQuery plugin for creating a rotating content module. It works by creating 'slides' from the child elements (eg. <li>) inside a specified wrapper element (eg. <ul>) on which .jshowoff() is invoked. It then rotates through the slides, with options for controls, links, and more. This type of module is often used to promote pages, sections, or features on a site.

- Required Files

1. [the jQuery Core javascript Library (1.3+)][1]
2. [jquery.jshowoff.min.js][2]

To get jShowOff up and running, simply include the above files on your page, create the required slides markup and invoke the method (example below). You can use the default skin ([jshowoff.css][3]) from the demo, or restyle the elements to your liking.

- How to Use

The required markup for jShowOff is a parent element with one or more child elements, which are used as the 'slides'. The following is a basic example:

<div id="features">
        <div><p>This is a slide!</p></div>
        <div>[url=http://google.com][img=|Google Logo]http://www.google.com/intl/en_ALL/images/logo.gif[/img][/url]</div>
    </div>
    <script type="text/javascript">        
        $(document).ready(function(){ $('#features').jshowoff(); });
    </script>


- Options

jShowOff has several options for customization. Pass these settings as an object to the .jshowoff() method like this:

    $('#features').jshowoff({ speed:1500, links: false }); });


<table id="options" cellpadding="0" cellspacing="0">
    <col />
    <col />
    <col width="120" />
    <col />
    <tr>
        <th>Property</th>
        <th>Type</th>
        <th>Default</th>
        <th>Description</th>
    </tr>
    <tr>
        <td>animatePause</td>
        <td>boolean</td>
        <td>true</td>
        <td>Whether to use 'Pause' animation text when pausing.</td>
    </tr>
    <tr>
        <td>autoPlay</td>
        <td>boolean</td>
        <td>true</td>
        <td>Whether to start playing immediately.</td>
    </tr>
    <tr>
        <td>changeSpeed</td>
        <td>integer</td>
        <td>600</td>
        <td>Speed of transition in milliseconds.</td>
    </tr>
    <tr>
        <td>controls</td>
        <td>boolean</td>
        <td>true</td>
        <td>Whether to create & display controls (Play/Pause, Previous, Next).</td>
    </tr>
    <tr>
        <td>controlText</td>
        <td>object</td>
        <td>{ play:'Play', pause:'Pause', previous:'Previous', next:'Next' }</td>
        <td>Text to use for controls (Play/Pause, Previous, Next). For multi-language support, etc.</td>
    </tr>
    <tr>
        <td>cssClass</td>
        <td>string</td>
        <td>true</td>
        <td>Add an additional custom class to the .jshowoff wrapper.</td>
    </tr>
    <tr>
        <td>effect</td>
        <td>string</td>
        <td>'fade'</td>
        <td>Type of transition effect: 'fade', 'slideLeft' or 'none'.</td>
    </tr>
    <tr>
        <td>hoverPause</td>
        <td>boolean</td>
        <td>true</td>
        <td>Whether to pause on hover.</td>
    </tr>
    <tr>
        <td>links</td>
        <td>boolean</td>
        <td>true</td>
        <td>Whether to create & display numeric links to each slide.</td>
    </tr>
    <tr>
        <td>speed</td>
        <td>integer</td>
        <td>3000</td>
        <td>Time each slide is shown in milliseconds.</td>
    </tr>
</table>


Additionally, the value of the title attribute on the 'slide' elements will be inserted as the text for the corresponding 'slide link' in lieu of the default numeric value.

- Future Features

* Option to show slides randomly.

- Change Log

0.1.2

* Added effect option to customize transitions. Options currently include: fade, slideLeft or none. Slide effect uses new global jQuery mini-plugin, $.slideIt(), which can be used on separately on any element.
* Added hoverPause option to temporarily stop slide rotation on hover.
* $.jshowoff() can now be invoked on any element and can take any child element as a 'slide'. Previously, only allowed <div>'s.
* Added ability to customize slide link text via slide element's title attribute.
* Added controlText parameter to allow custom text for controls (multi-language support, etc).
* Added the animatePause option to specify whether to show the pause animation when pausing.
* Changed a lot of dynamic markup and classes, skin CSS, and internal functions, so beware when upgrading. The plugin is still young, so it's subject to substantial change.

0.1.1

* Added error check for changeSpeed set less than speed.
* Added cssClass option to specify additional class on .jshowoff wrapper.
* Now possible to invoke multiple instances, each with unique classes (for container, controls and links).

0.1.0

* Initial release.

Download JQuery 5 besten Custom Plugins
 
I like thisI dislike this
34 people say it works.
#1 Posted by: ProAdam (20 September 2010 13:34)
Group: Member
Register: 30.08.2010
ICQ: --
Nice sharing thanks

 
Comments: 53 | Posts: 0

#2 Posted by: Quad (20 September 2010 22:51)
Group: Member
Register: 29.08.2010
ICQ: --
thx

 
Comments: 52 | Posts: 0

#3 Posted by: hacked38 (2 October 2010 02:01)
Group: Member
Register: 1.10.2010
ICQ: --
Quad,
thanx

 
Comments: 52 | Posts: 0

#4 Posted by: Assad (8 November 2010 12:31)
Group: Member
Register: 8.11.2010
ICQ: --
Quad,
thanx

 
Comments: 50 | Posts: 0

#5 Posted by: corup (12 November 2010 17:46)
Group: Member
Register: 29.09.2010
ICQ: --
thank you, installing..

 
Comments: 51 | Posts: 0

#6 Posted by: wree (25 April 2011 11:13)
Group: Member
Register: 29.03.2011
ICQ: --
Thanks for sharing.

 
Comments: 55 | Posts: 0

Information! Members of Guest cannot leave comments.

Home | Wordpress | Joomla | vBulletin | Datalife Engine | Modules | Cms Scripts | Board Scripts | Shop Scripts | Multimedia | Arcade Scripts | Hosting Scripts | Chat Scripts
© 2011 by DDL-Turkey.Net. This page was last modified on 14 May 2011 at 18:56.