switchTarget jQuery Plugin
Example 1
This plugin comes in handy when you need to switch the content, for example images.
$(function () {
$(".links").switchTarget({
linkSelected : 3
});
});
Example 2
It can also be used for tab link functionality with non-conventional markup. The tabs do not have to be in the same container as the content. Such flexibility comes in handy for some layouts. This example also demonstrates the switch of the content on hover.
1. Thomas Schreiber
2. Santa Fe, NM
3. October 31, 2009
$(function () {
$(".links").switchTarget({
activation : 'mouseover'
});
});
Example 3
Another use case is as a toggle switch, for example simple
toggle between Sign Up and Login forms.
$(function () {
$(".links").switchTarget({
linkSwap : true
});
});
Example 4
Yet another use case is as a simple accordion.
$(function () {
$(".links").switchTarget({
effect : 'sliding',
startHidden : true,
speed : 'slow'
});
});
Example 5
You can use images to trigger a switch and switch images on click.
Free For Job
Portfolio
Post Note
Twitter
$(function () {
$(".links").switchTarget();
});