if (this.fluidbook.datas.viadeo) {
shareLinks['viadeo'] = 'Viadeo';
}
+ if (this.fluidbook.datas.pinterest) {
+ shareLinks['pinterest'] = 'Pinterest';
+ }
// Generate links
for (var shareType in shareLinks) {
this.fluidbook.wopen('http://www.viadeo.com/shareit/share/?url=' + encodeURIComponent(this.getShareURL(url)), 'share_viadeo', 'width=650,height=400');
this.fluidbook.stats.track(12);
},
+ sendPinterest: function (url) {
+ this.fluidbook.wopen('http://pinterest.com/pin/create/button/?url=' + encodeURIComponent(this.getShareURL(url)) + '&media=' + encodeURIComponent('https://workshop.fluidbook.com/services/facebook_thumbnail?id=' + this.fluidbook.datas.id + '&j=' + Date.now()) + '"','width=650,height=400');
+ this.fluidbook.stats.track(12);
+ }
};
\ No newline at end of file