Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

swap


jlThemeSwitcher - A jQuery UI Or Custom Stylesheet Theme Switching Widget

jlThemeSwitcher is a jQuery theme switcher plugin I designed which allows you to switch between jQuery UI themes or your own custom themes created with jQuery UI Themeroller (http://jqueryui.com/themeroller/).

This widget has many helpful options and it automatically matches the selected theme.

Documentation, demo, and source code for the widget can be found at my website at http://jasonlau.biz/home/jquery/jlthemeswitcher-for-jquery.

Want to contribute to this project?
Send your jQuery UI themes to me to be added to the public themes list or send a request to become a co-developer.

You can also find some of my other jQuery plugins at my website.

Swappable

The jQuery UI Swapable plugin makes selected elements swapable by dragging with the mouse.

Introduction

Enable a group of DOM elements to be swapable. Click on and drag an element to a new spot within the list; drag element and drop one will swap and the other items will not affected. By default, swapable items share sortable properties.

Details

Similar to "Sortable", but only two elements of the selected group are affected: dragged and dropped which are swapped. All other elements stay at their current positions. This plugin is built based on existing "Sortable" jQuery plugin and inherits all sortable options except "cursorAt" one which is hard-coded.

Based on jquery.ui.sortable.js

Hover-Swap

An unobtrusive, cross-browser, XHTML compliant solution for image & input rollovers.
* Supports arbitrary image sizes for rollovers that “pop”.
* Supports transparent png’s in Internet Explorer 6.

jquery.switchTarget

switchTarget jQuery Plugin v1.0.0

A jQuery plugin that allows to swap the elements within the DOM.

Use cases include:
- Tabs with non-conventional markup
- Toggle switch
- A simple accordion
- Menu

ctRotator

An highly customizable item/image rotating script. Supports creating the rotator from various data sources, such as JavaScript object, HTML UL/OL list, RSS feed, Flickr feed. More data sources can be supported with custom bridges.

Preview the plugin: http://test.thecodecentral.com/ajax-rotator/
Full documentation: http://thecodecentral.com/2008/11/12/ctrotator-a-flexible-itemimage-rota...

Call ctRotator with a data source on a selected element:

<ul id="container"></ul>

<script type="text/javascript">
$('#container').ctRotator(dataSource, {
  showCount:5,
  speed:1000
});
</script>

Format of the data source (can be from other sources):

var dataSource = [
{title: 'test', url: 'http://thecodecentral.com', tip: 'Programmer\'s blog for programmers'},
{title: 'test2', url: 'http://thankyouproject.org', tip: 'Fill the World with Thanks'},