? includes/jquery.cycle.js
? includes/jquery.easing.js
Index: rotating_banner.classes.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rotating_banner/rotating_banner.classes.inc,v
retrieving revision 1.6
diff -u -p -r1.6 rotating_banner.classes.inc
--- rotating_banner.classes.inc	24 Jan 2011 17:15:33 -0000	1.6
+++ rotating_banner.classes.inc	2 Feb 2011 16:05:38 -0000
@@ -168,6 +168,7 @@ class RotatingBanner extends SimpleActiv
     //@todo: add variables here.
     static $defaults = array(
       'controls' => 'buttons',
+      'prev_next' => 0,
       'width' => '',
       'height' => '',
       'fluid' => TRUE,
Index: rotating_banner.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rotating_banner/rotating_banner.css,v
retrieving revision 1.27
diff -u -p -r1.27 rotating_banner.css
--- rotating_banner.css	20 Oct 2010 17:02:16 -0000	1.27
+++ rotating_banner.css	2 Feb 2011 16:05:38 -0000
@@ -121,8 +121,10 @@
 
 .controls.buttons a {
   background: #CCC;
+  color: transparent;
   font-size: 0;
   height: 0;
+  text-indent: -2000px;
   width: 0;
   border-radius: 5px;
   -moz-border-radius: 5px;
Index: rotating_banner.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rotating_banner/rotating_banner.js,v
retrieving revision 1.13
diff -u -p -r1.13 rotating_banner.js
--- rotating_banner.js	24 Jan 2011 17:15:33 -0000	1.13
+++ rotating_banner.js	2 Feb 2011 16:05:38 -0000
@@ -6,12 +6,6 @@
 
 /*global jQuery: true Drupal: true window: true */
 
-/*jslint bitwise: true, eqeqeq: true, immed: true, newcap: true, nomen: false,
- onevar: false, plusplus: false, regexp: true, undef: true, white: true, indent: 2
- browser: true */
-
-/*global jQuery: true Drupal: true window: true */
-
 (function ($) {
   Drupal.behaviors.rotatingBanner = {
     attach: function (context) {
@@ -24,10 +18,16 @@
           alert(Drupal.t('Jquery Cycle is not installed and is required by the rotating_banner module.\n\nSee the README.txt'));
           return;
         }
-        // This should probably be moved into a change to the form in rotating_banner.module
-        settings.pager = "#" + this.id + " .controls";
+
         settings.fit = 1;
         settings.cleartypeNoBg = true;
+
+        if(Drupal.settings.rotatingBanners[this.id].controls == 'prev_next') {
+          settings.prev = "#" + this.id + " .prev";
+          settings.next = "#" + this.id + " .next";
+        } else {
+          settings.pager = "#" + this.id + " .controls";
+        }
 				
         $('.rb-slides', this).cycle(settings);
       });
Index: rotating_banner.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/rotating_banner/rotating_banner.module,v
retrieving revision 1.74
diff -u -p -r1.74 rotating_banner.module
--- rotating_banner.module	24 Jan 2011 17:15:33 -0000	1.74
+++ rotating_banner.module	2 Feb 2011 16:05:39 -0000
@@ -348,7 +348,12 @@ function rotating_banner_block_configure
   $rb_form['banner_settings']['controls'] = array(
     '#type' => 'select',
     '#title' => t('Type of control to switch between slides'),
-    '#options' => array('none' => t('None'), 'buttons' => t('Buttons'), 'numbers' => t('Numbers')),
+    '#options' => array(
+      'none' => t('None'),
+      'buttons' => t('Buttons'),
+      'numbers' => t('Numbers'),
+      'prev_next' => t('Prev / Next'),
+    ),
     '#default_value' => $settings['controls'],
   );
   
@@ -543,8 +548,11 @@ function theme_rotating_banner($variable
   }
 
   if (isset($settings['controls'])) {
+    $content = $settings['controls'] == 'prev_next' ? '<a href="#" class="prev">' . t('Prev') . '</a><a href="#" class="next">' . t('Next') . '</a>' : '';
+
+
     $element['controls'] = array(
-      '#markup' => '<div class="' . $settings['controls'] . ' controls"></div>',
+      '#markup' => '<div class="' . $settings['controls'] . ' controls">' . $content . '</div>',
     );
   }
   
