Content Slider
Image and content slider based on bxslider.com
Slides can contain images, containers, or iframes.
Advanced touch / swipe support built-in
Very simple to use:
Just add images or other Containers into a Container Object. Initialize and ready!
slInitSlider
Purpose: |
Initializes the Slider. First just create a new Container Object and put some images and even other containers of iframes on it. Don't worry about the size and position as the plugin will recalculate them. |
Category: |
Content Slider |
Syntax: |
slInitSlider "containerId" "mode" speed pause
containerId Select a container with images from your App mode Write one of three modes: horizontal, vertical or fade speed Speed in milliseconds (ie: 500) pause Pause between images in milliseconds (ie: 3000) |
slGoToNextSlide
Purpose: |
Go to next slide |
Category: |
Content Slider |
Syntax: |
slGoToNextSlide "containerId"
containerId Select a container previously initialized with slInitSlider |
slGoToPrevSlide
Purpose: |
Go to previous slide |
Category: |
Content Slider |
Syntax: |
slGoToPrevSlide "containerId"
containerId Select a container previously initialized with slInitSlider |
slGotoSlide
Purpose: |
Jumps to a specific slide |
Category: |
Content Slider |
Syntax: |
slGotoSlide "containerId" slide
containerId Select a container previously initialized with slInitSlider slide Slide number to jump to |
slStartAutoSlider
Purpose: |
Starts the auto slider |
Category: |
Content Slider |
Syntax: |
slStartAutoSlider "containerId"
containerId Select a container previously initialized with slInitSlider |
slStopAutoSlider
Purpose: |
Stops the auto slider |
Category: |
Content Slider |
Syntax: |
slStopAutoSlider "containerId"
containerId Select a container previously initialized with slInitSlider |
slGetCurrentSlide
Purpose: |
Returns the current slide |
Category: |
Content Slider |
Syntax: |
slGetCurrentSlide "containerId" [result]
containerId Select a container previously initialized with slInitSlider result Variable name to store the result slide number |
slGetSlideCount
Purpose: |
Returns the total number of slides |
Category: |
Content Slider |
Syntax: |
slGetSlideCount "containerId" [result]
containerId Select a container previously initialized with slInitSlider result Variable name to store the result number of slides |