jQuery Cycle Slider is another interactive & user friendly module developed by DnnZone. This is a sleek slider module for your images and banners. 26 unique transition effects are supported. Slider can be displayed using 4 pre-configured skins. More skins can be added on demand.
This blog post will describe the simple steps on how to use DNN jQuery Cycle Slider module in DotNetNuke portals.
Step-1: Install Module
Once you have downloaded DNN jQuery Cycle Slider, you can install it in your portal by logging in as Host and going to Host -> Module Definitions -> Install Module. If you are not familiar with DotNetNuke module installation, please read following articles:
Step-2: Add Module to a Page
Once the module is installed, it will be available in the Module drop-down. You can add jQuery Cycle Slider (DNN_jQueryCycleSlider) to your desired pane.
Step-3: Module Settings
After adding the module, you can go to module settings page and scroll to bottom section “DNN jQuery Cycle Slider Settings”. This section contains settings specific to this module. See following screen for setting details.
Following table describes the available settings.
Setting | Description |
---|---|
Skin | Select the skin/template for the slider control: |
Effects | You have the option to select All, Random or Mix mode effects for your slider. For Mix mode, you can choose multiple transition effects for your slider:
|
Time Between Transitions | Time between slide transitions (milliseconds) |
Transition Speed | Time taken by slide transitions (milliseconds) |
Show Next Previous | Show Next Previous buttons |
Show Bullets | Show navigation bullets |
Show Captions | Show image captions (if specified while uploading images) |
Pause on Hover | Pause transitions when mouse is inside the slider area |
Stop on Last Slide | Stop transitions on last slide |
Randomize Images | Select this check-box, if you want a random auto navigation order. |
Slider Dimensions | Specify the width and height for the slider area. Please note, slider will not resize images, images should be of the same size. |
Container HTML | You can write your custom HTML. It can serve as wrapper around the slider. Use [DNN_CYCLE_SLIDER] in a place where you want to show the actual slider. |
Include jQuery | Select this check-box, if jQuery is not already available in the portal |
Resolve jQuery Conflict | Select this check-box, if you are also using other java-script frameworks. |
Step-4: Manage Images
Now you are ready to add images to the slider. You can click the “Manage Images (Pencil Icon)” link on the newly added module. This will show you image listing, you can upload images. You can specify caption, link and order of display for images in this section. See following screens for reference.
Step-5: Image Slider View
You are all set – now you can go back to the page where you added the module and now you can see the jQuery Cycle Slider in action.
Possible Issues and Quick Resolution
Slider not working:
Make sure jQuery 1.4.x or later is available in your DNN portal. If you are not sure, turn on the check-box “Include jQuery” from module setting page.
Conflict with other java-script frame-works:
This module relies on jQuery, if your portal is also using other java-script frameworks (like moo-tools or prototype etc.), you should select the check box “Resolve Conflict” in module settings.
On DNN 04.xx.xx, please always select the “Resolve Conflict” settings.
Images are not displayed well inside slider:
Please make sure all images added to the slider are of the same size. Please use the same dimensions in module settings.
Credits:
This module is built using an open source slider plugin “jQuery Cycle Plugin”. This plugin is available at http://jquery.malsup.com/cycle/.