• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 12 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JQuery Slider Plugin

Coda Slider

A jQuery HTML Content Slider

Download Here

You can install with bower bower install jquery-codaslider

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.

More Repositories

1

liquidslider

A Responsive jQuery Content Slider
JavaScript
161
star
2

code-block-pro

A Gutenberg code block with syntax highlighting powered by VS Code
TypeScript
126
star
3

obsidian-raycast

Raycast extension with commands for the note taking app Obsidian.
TypeScript
106
star
4

alpine-inline-devtools

An easy way to monitor your state while developing with Alpine
JavaScript
67
star
5

gutenberg-rust-starter

Gutenberg + Rust + TypeScript
JavaScript
38
star
6

pattern-css

A WordPress editor plugin to safely add CSS to your reusable patterns or any random pattern.
JavaScript
25
star
7

block-diffusion

A WordPress block to generate images from text prompts
TypeScript
24
star
8

wavy-divider

A WordPress block to add colorful creative wavy svg divider shapes
JavaScript
19
star
9

alpine-auto-interval

A lightweight interval plugin for Alpine.js that lets you call a function every n milliseconds
JavaScript
12
star
10

tailwind-custom-cdn

Tailwind CSS builds for CDN access (Template Repository)
CSS
12
star
11

beats-kv-demo

A simple, multiplayer beat machine using Deno KV
TypeScript
11
star
12

alpine-plugin-template

JavaScript
11
star
13

laravel-forge-raycast

Raycast extension to manage your Forge servers
TypeScript
10
star
14

unsplash-block-plugin

A WordPress Gutenberg block plugin to interface with the Unsplash API
TypeScript
8
star
15

wp-xeet

A static Tweet block plugin for WordPress (no iframe)
TypeScript
7
star
16

wp-command-palette-tools

A collection of productivity tools for the WP Command Palette
JavaScript
7
star
17

animate-in-view

A Gutenberg block to animate in a block when in view
TypeScript
7
star
18

steam-api

A simple Next.js API to search Steam games and get game data
TypeScript
7
star
19

replicate-raycast

A Raycast Extension to view your replicate.com image collection
TypeScript
6
star
20

image-filters

A Gutenberg block providing image filters processed with Rust/wasm
TypeScript
6
star
21

alpine-observe-other-components

A lightweight observer function for Alpine.js that lets you monitor state on other Alpine components
JavaScript
6
star
22

interactivity-api-helpers

Helper library for building with the WordPress Interactivity API
TypeScript
6
star
23

alpine.js-gutenberg

A demo showing Alpine with WordPress's Gutenberg editor
JavaScript
5
star
24

laravel-artisan-raycast

Raycast extension for searching Artisan commands
TypeScript
4
star
25

steam-raycast

TypeScript
3
star
26

alpine-auto-init

A lightweight auto init function for Alpine.js
JavaScript
3
star
27

wordpress-cypress-github-action-workflow

JavaScript
3
star
28

artisan-api

Always up to date api to search Laravel Artisan commands
TypeScript
3
star
29

wordpress-control-raycast

A Raycast extension to manage your WordPress sites.
TypeScript
2
star
30

auth-license-server

TypeScript
2
star
31

unsplash-api

TypeScript
2
star
32

dotfiles

Shell
1
star
33

electron-vue-starter

JavaScript
1
star
34

tailwind-css-cdn

CSS
1
star
35

aoc2022

https://adventofcode.com/
JavaScript
1
star
36

quick-open-patterns

Opens the patterns modal when you type /patterns
TypeScript
1
star
37

val-town-raycast

Raycast extension for Val Town
TypeScript
1
star