Home Hacker News Good, Creative, and Ugly Logo Concepts That Prove Good Design Is Hard
Good, Creative, and Ugly Logo Concepts That Prove Good Design Is Hard

Good, Creative, and Ugly Logo Concepts That Prove Good Design Is Hard

0
0


‘,
enableHover: false,
enableTracking: true,
buttons: { twitter: {via: ‘BrandingBeard’}},
click: function(api, options){
api.simulateClick();
api.openPopup(‘twitter’);
}
});
$(‘#facebook’).sharrre({
share: {
facebook: true
},
template: ‘

{total}

‘,
enableHover: false,
enableTracking: true,
buttons:{layout: ‘box_count’},
click: function(api, options){
api.simulateClick();
api.openPopup(‘facebook’);
}
});
$(‘#googleplus’).sharrre({
share: {
googlePlus: true
},
template: ‘

{total}

‘,
enableHover: false,
enableTracking: true,
buttons:{size: ‘tall’},
urlCurl: ‘http://brandingbeard.com/wp-content/plugins/hueman-addons/assets/front/js/sharrre.php’,
click: function(api, options){
api.simulateClick();
api.openPopup(‘googlePlus’);
}
});
$(‘#pinterest’).sharrre({
share: {
pinterest: true
},
template: ‘

{total}

‘,
enableHover: false,
enableTracking: true,
buttons: {
pinterest: {
description: ‘Good, Creative, & Ugly Logo Concepts That Prove Good Design is Hard’,media: ‘http://brandingbeard.com/wp-content/uploads/2017/01/good-duck.png’ }
},
click: function(api, options){
api.simulateClick();
api.openPopup(‘pinterest’);
}
});
$(‘#linkedin’).sharrre({
share: {
linkedin: true
},
template: ‘

{total}

‘,
enableHover: false,
enableTracking: true,
buttons: {
linkedin: {
description: ‘Good, Creative, & Ugly Logo Concepts That Prove Good Design is Hard’,media: ‘http://brandingbeard.com/wp-content/uploads/2017/01/good-duck.png’ }
},
click: function(api, options){
api.simulateClick();
api.openPopup(‘linkedin’);
}
});

// Scrollable sharrre bar, contributed by Erik Frye. Awesome!
var $_shareContainer = $(“.sharrre-container”),
$_header = $(‘#header’),
$_postEntry = $(‘.entry’),
$window = $(window),
startSharePosition = $_shareContainer.offset(),//object
contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(),
topOfTemplate = $_header.offset().top,
topSpacing = _setTopSpacing();

//triggered on scroll
shareScroll = function(){
if( ! ( $window.width() > 480) )
return;

var scrollTop = $window.scrollTop() + topOfTemplate,
stopLocation = contentBottom – ($_shareContainer.outerHeight() + topSpacing);

if(scrollTop > stopLocation){
$_shareContainer.offset({top: contentBottom – $_shareContainer.outerHeight(),left: startSharePosition.left});
}
else if(scrollTop >= $_postEntry.offset().top – topSpacing){
$_shareContainer.offset({top: scrollTop + topSpacing, left: startSharePosition.left});
}else if(scrollTop 1024)
topSpacing = distanceFromTop + $(‘.nav-wrap’).outerHeight();
else
topSpacing = distanceFromTop;
return topSpacing;
}

});



Source link

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

WordPress Anti Spam by WP-SpamShield

Close

Powered by moviekillers.com