Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

shazhuya/codaslider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

51 Commits

Repository files navigation

Coda Slider

A jQuery HTML Content Slider

Download Here

How to upgrade to the Liquid Slider

How to Use

Install the slider in the footer.

 <script src="./js/jquery.easing.1.3.js"></script>
 <script src="./js/jquery.coda-slider-3.0.js"></script>
 <script>$('#slider-id').codaSlider();</script>

Where the slider-id matches the id of the content, as follows:

 <div class="coda-slider" id="slider-id">
 <div>
 <h2 class="title">Slide 1</h2>
 <p>Content</p>
 </div>
 <div>
 <h2 class="title">Slide 2</h2>
 <p>Content</p>
 </div>
 </div>

Add as many panels as you like within the <div class="coda-slider id="slider-id"></div>

One Panel:

 <div>
 <h2 class="title">Panel</h2>
 <p>Content</p>
 </div>

Default Settings

 autoHeight: true,
 autoHeightEaseDuration: 1500,
 autoHeightEaseFunction: "easeInOutExpo",
 autoSlide: false,
 autoSliderDirection: 'right',
 autoSlideInterval: 7000,
 autoSlideControls: false,
 autoSlideStartText: 'Start',
 autoSlideStopText: 'Stop',
 autoSlideStopWhenClicked: true,
 continuous: true,
 dynamicArrows: true,
 dynamicArrowsGraphical: false,
 dynamicArrowLeftText: "&#171; left",
 dynamicArrowRightText: "right &#187;",
 dynamicTabs: true,
 dynamicTabsAlign: "center",
 dynamicTabsPosition: "top",
 firstPanelToLoad: 1,
 panelTitleSelector: "h2.title",
 slideEaseDuration: 1500,
 slideEaseFunction: "easeInOutExpo"

Cross Links

In order to control the slider from anywhere on the page, use the following code: (Note that this would control 2 sliders)

<a href="#1" data-ref="slider-id another-slider">Tab 1</a>

Auto Slide Controls

Use one or the other depending on whether autoSlide is enabled.

<a href="#" name="start" data-ref="slider-id" >Start</a>
<a href="#" name="stop" data-ref="slider-id" >Stop</a>

Support

Submit bugs here

Maintained by Kevin Batdorf

Released under the GNU General Public License and the MIT License.

About

JQuery Slider Plugin

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
GPL-LICENSE.txt
MIT
MIT-LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /