srobbin/jquery-pageslide — Issue #58: pageslide force all links to be unbound
Author: ljean
Created: 2011-11-14 13:55:26+00:00
State: open

I am using pageslide together with colorbox. I have an `` bound with the pageslide and another one bound with colorbox.

As soon as, I click the pageslide link, the colorbox link stop working. it open the regular page. It seems that the click event has been unbound.

After some investigations, i found that this behavior disappear if I comment the inner $(document).unbind('click'); at line 140.

`$(document).unbind('click').click(function(e) { if(! _checkA(e.target)){ /* HERE IS MY FIX: $(document).unbind('click');*/ _closeSlide(e); return false } });`

But I guess it may have some other consequences.

What would be a clean fix for this problem?

Best
luc