Index: views-accordion.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_accordion/views-accordion.js,v
retrieving revision 1.1.2.15
diff -u -p -r1.1.2.15 views-accordion.js
--- views-accordion.js	18 Jan 2010 19:39:28 -0000	1.1.2.15
+++ views-accordion.js	22 Apr 2010 10:27:25 -0000
@@ -19,6 +19,7 @@ Drupal.behaviors.views_accordion = funct
       var togglelinks = this.togglelinks;  // wether or not to show Open All / Close All links
       var disablecloseothers = this.disablecloseothers;  // wether or not when clicking a closed item we should close all others.
       var rowstartopen = this.rowstartopen; // The row that we have to open on load, if any.
+      var enableheaderlinks = this.enableheaderlinks; // Allow links placed in the header to be clickable or not.
 
       // the selectors we have to play with
       var contentSelector = 'div.' + contentClass; // used for selecting all accordion content to show/hide
@@ -100,7 +101,10 @@ Drupal.behaviors.views_accordion = funct
               $ourTrigger.addClass(activeClass);
             }
           }
-          return false;
+          //disable link in header elements if needed
+          if (!enableheaderlinks) {
+            return false;
+          }
         });
 
         $triggers.hover(function(){
Index: views_accordion_style_plugin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_accordion/views_accordion_style_plugin.inc,v
retrieving revision 1.1.2.14
diff -u -p -r1.1.2.14 views_accordion_style_plugin.inc
--- views_accordion_style_plugin.inc	3 Nov 2009 18:52:03 -0000	1.1.2.14
+++ views_accordion_style_plugin.inc	22 Apr 2010 10:27:25 -0000
@@ -24,6 +24,7 @@ class views_accordion_style_plugin exten
     $options['include-style'] = array('default' => 1);
     $options['auto-cycle'] = array('default' => 0);
     $options['auto-cycle-speed'] = array('default' => 5);
+    $options['header-is-link'] = array('default' => 0);	
     return $options;
   }
 
@@ -122,6 +123,12 @@ class views_accordion_style_plugin exten
       '#process' => array('views_process_dependency'),
       '#dependency' => array('edit-style-options-auto-cycle' => array(TRUE)),
     );
+    $form['header-is-link'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Allow links in header to be clickable'),
+      '#default_value' => $this->options['header-is-link'],
+      '#description' => t('Whether or not clicking on a item in the header will follow a link or only open the accordion.'),
+    );	
   }
 
   /**
@@ -145,6 +152,8 @@ class views_accordion_style_plugin exten
     $view_settings['autocyclespeed'] = check_plain($this->options['auto-cycle-speed']) * 1000;
     $view_settings['display'] =  'views-accordion-'. $this->view->name .'-'. $this->view->current_display;
     $view_settings['usegroupheader'] = $view_settings['grouping'] ? $this->options['use-grouping-header'] : 0;
+    $view_settings['enableheaderlinks'] =  $this->options['header-is-link'] ? 1 : 0;
+	
     $view_id = 'views-accordion-'. $this->view->name .'-'. $this->view->current_display;
 
     if ($view_settings['usegroupheader'] == 1) {
