Makes a BB Column clickable.

Author: 

Carlos Velasco


Description: 

to make background images in columns clickable

 

This is what I would use for this:
/**
* Makes a BB Column clickable.
* Pre-requisite: There must be an A Tag contained within the column element.
*/

It comes from Carlos Velasco a BB dev. You need to add the clickable-col class selector to each column.




Kind:

jQuery


Javascript:

jQuery(document).ready(function($){
$('.clickable-col').css('cursor','pointer');
$('.clickable-col').on('click', function(event){
$(this).find('a')[0].click();
});
$('.clickable-col a').on('click', function(event){
event.stopPropagation();
});
});