How can i disable the Icons on the Overlay in the "Team" Section on Main Page.
On a Mouseover i see those Facebook, twitter and google+ icons.
OR: How can i disable the complete Overlay (colored area AND Icons)
Thanks for your help!
if(figure.attr('data-twitter') !== null) {
htmloutput += '<a href="'+figure.attr('data-twitter')+'" data-type="twitter"></a>';
classcounter++;
}
if(figure.attr('data-twitter') != null) {
htmloutput += '<a href="'+figure.attr('data-twitter')+'" data-type="twitter"></a>';
classcounter++;
}
overlay.html(htmloutput);
overlay.addClass('gkIcons' + classcounter);
figure.find('img').after(overlay);
figure.bind({
'touchend': function() {
if(!figure.hasClass('hover')) {
figure.trigger('mouseenter');
} else {
figure.trigger('mouseleave');
}
},
'mouseenter': function() {
figure.addClass('hover');
var linksAmount = figure.find('.gkTeamOverlay a').length;
for(i = 0; i < linksAmount; i++) {
gkAddClass(figure.find('.gkTeamOverlay').find('a').eq(i), 'active', i);
}
},
'mouseleave': function() {
figure.removeClass('hover');
figure.find('.gkTeamOverlay a').removeClass('active');
}
});
if(classcounter > 0) {
overlay.html(htmloutput);
overlay.addClass('gkIcons' + classcounter);
figure.find('img').after(overlay);
figure.bind({
'touchend': function() {
if(!figure.hasClass('hover')) {
figure.trigger('mouseenter');
} else {
figure.trigger('mouseleave');
}
},
'mouseenter': function() {
figure.addClass('hover');
var linksAmount = figure.find('.gkTeamOverlay a').length;
for(i = 0; i < linksAmount; i++) {
gkAddClass(figure.find('.gkTeamOverlay').find('a').eq(i), 'active', i);
}
},
'mouseleave': function() {
figure.removeClass('hover');
figure.find('.gkTeamOverlay a').removeClass('active');
}
});
}