Jquery-tab-slider is a project mainly written in JavaScript, based on the BSD-3-Clause license.
jQuery plugin that allows you to easily reproduce the slide-in kind of effect used for login/feedback boxes on various web applications.
Allows you to easily reproduce the slide-in kind of effect used for login/feedback boxes on various web applications.
Copy/paste the following in the <head>
part of your HTML:
<script src="/path/to/tab-slider/tab-slider.js" type="text/javascript"></script>
Accepts the following options:
{
// position of the box (bottom|top left|right)
// defaults to 'bottom left'
position: '',
// spacing to use for each position
// all default to '0'
bottom: '',
left: '',
right: '',
top: '',
// selector to slide
// defaults to 'div'
slider: '',
// sliding speed (ie: 500, 'slow', etc.)
// defaults to '1000'
speed: '',
// selector to use as tab
// defaults to 'h3'
tab: '',
// text to use in the tab - leave empty if unchanged
tabText: '',
}
http://github.com/jadb/jquery-tab-slider