(function ($) {
if (!window.SDB) {
SDB = {};
}
/*
* Application Init, everything starts here
*
*/
SDB.App = function() {
return {
exists: function(x) {
if ($(x).length > 0) { return true; }
},
init: function() {
// Basic Clickable on Whole Column with Target Blank
if(SDB.App.exists('.tg-clickable')){
$(document).on('click', 'body:not(.fl-builder-edit) .tg-clickable > .fl-col-content', function(event) {
var link = $(this).find("a").attr("href");
window.open(link,'_blank');
return false;
});
}
// Start New Function from here
} // CLOSE INIT FUNCTION
};
}();
$(function() {
SDB.App.init();
});
}(jQuery));
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter