jquery cycle "allowPagerClickBubble: true" not quite working

Posted by Shelagh on Stack Overflow See other posts from Stack Overflow or by Shelagh
Published on 2010-06-02T23:15:37Z Indexed on 2010/06/03 0:24 UTC
Read the original article Hit count: 745

Filed under:
|
|
|

Hi all,

I want my page anchors to work as menu links so I used this code:

$(function() {
 $('#slideshow').cycle({
  slideExpr: 'img',      
  fx:     'fade',
  speed:  2000,
  timeout: 4000,
  pager:  '#nav',
  pagerEvent: 'mouseover',
  pauseOnPagerHover: true,
  pagerAnchorBuilder: function(idx, slide) {
   // return sel string for existing anchor
   return '#nav li:eq(' + (idx) + ') a';
  },
  allowPagerClickBubble: true
    });
});

If you click the right mouse button, you can choose to open the links and they do open just fine but a normal left button click does nothing. The thing is, they WERE working so I went to work on supposedly unrelated parts of the website and at some point the left mouse button click stopped working. Any ideas what I might have done? Left button clicking still works for everything else on the site so its not some global setting.

The cycle is here if my explanation is not clear: http://www.mcguirenaturals.ca/index.php

Thanks for any help

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about anchor