/[drupal]/contributions/modules/slider/README.txt
ViewVC logotype

Contents of /contributions/modules/slider/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Oct 15 10:04:25 2008 UTC (13 months, 2 weeks ago) by marktheunissen
Branch: MAIN
CVS Tags: DRUPAL-6--1-1, DRUPAL-6--1-2, DRUPAL-6--1-3, HEAD
Branch point for: DRUPAL-6--1, DRUPAL-6--2
File MIME type: text/plain
first commit of slider module
1 // $Id$
2
3 Slider module creates a scrollable jQuery node display effect called the "coda slider", which was made famous by the site:
4
5 http://www.panic.com/coda/
6
7 Each panel of the Slider is an individual node. You can have any node you like appear inside a slider.
8
9 Usage
10 ----------
11
12 This module depends on CCK (Content Creation Kit). A "slider" is actually a node type of your choice with a nodereference field called "field_slider_content". So before you can start using Slider, you need to install CCK module and choose a node type that will have the "field_slider_content" field. Add the field as a nodereference type, with "Multiple values" ticked so that you can have multiple panels in your slider!
13
14 In the Slider settings (admin/settings/slider), you should see a list of all node types that have a "field_slider_content" field. You can use the checkboxes to choose which node types the Slider module will operate on. Also select whether the tabs should appear above or below the panels.
15
16 Now, create a new node of the type you've selected, and set the nodereference field to reference the nodes you would like to be shown in the slider. Any nodes can be inside slider panels!
17
18 Don't forget that in the CCK settings for the node type, you have to configure the nodereference field and select which nodes you will allow it to reference.
19
20 When displaying the slider node, the nodereference data is removed from the display and instead you will see the nodes presented as a coda slider.
21
22 If you need to change the width and height or any other properties of the slider, you can do so in your theme's CSS file (overriding the styles in this module's css/slider.css).
23
24 Credits
25 -----------
26
27 This module was written by Mark Theunissen for Digital People Online, a London based Digital Agency that specialises in Drupal development.
28
29 It uses several jQuery plugins: scrollTo, localScroll, serialScroll.
30
31 The jQuery code in slider.js was created by Remy Sharp and is explained in detail on his blog at: http://jqueryfordesigners.com/coda-slider-effect/

  ViewVC Help
Powered by ViewVC 1.1.2