בימים ההם בזמן הזה
הודפס מאתר www.baba-mail.co.il
מקור: שאולי רוזנברג
הצטרף בחינם לשירות
קבל עדכונים על תכנים חדשים ישירות לתיבת המייל שלך!
בלחיצתך על "הרשם", הינך מסכים ל
תנאי שימוש ו
הצהרת הפרטיות שלנו ומאשר קבלת מיילים מהאתר.
* מקסימום 20 חברים בכל שיתוף
תוכן הבא
enquire.register(desktop_selector, sidecontent_md_lg, true);
$('img.lzy').lazy().removeClass('lzy');
$(window).one('load', function () { enquire.register(xs_sm, cat_content_xs_sm, true); });
function showSignupContent() {
var show_signup = false;
$('.tm-content-options').scrollFold({once:true, threshold: 500})
.below(window.nomodal(function () {if(registration.settings.signed || show_signup) return; show_signup = true; registration.position = 'pop_sign_scroll'; modal.close();$('#modal-' + 'reg').modal();}));
};
$(function () {
$(document).on('click', '.emailbody a[target="_blank"]', function (e) {
var href = $(this).attr('href');
if (href.indexOf('/') === 0 || href.indexOf('#') === 0 || href.indexOf('https://www.baba-mail.co.il/') == 0 || href.indexOf('http://www.baba-mail.co.il/') == 0) {
$(this).attr('target', '_self');
}
});
if('ynet-helth' in window && window['ynet-helth']) {
$('body').append('
');
}
else if ('ynet-diy' in window && window['ynet-diy']) {
$('body').append('
');
}
$('#plus-text').click(function(e){ e.preventDefault(); $('html').resizeText(); });
$('#minus-text').click(function(e){ e.preventDefault(); $('html').resizeText({step: -1}); });
$('.tm-content-options').scrollFold()
.above(function () {$('.navbar').removeClass('tm-share-article-nav-show');})
.below(function () {$('.navbar').addClass('tm-share-article-nav-show');});
showSignupContent();
//duplicate side content to below
//var source_items = $('.mostpopular-category .tm-content-wrapper .tm-link.item').clone().removeClass('col-sm-4').addClass('col-sm-3');
//var dest_items = $('.tm-popular-content.hidden-md.best-categories .tm-content-wrapper .tm-link');
//if (dest_items.length <= 0 && source_items && source_items.length > 0)
// $('.tm-popular-content.hidden-md.best-categories .tm-content-wrapper').append(source_items);
if($('.emailbody audio').length > 0) {
var $audio = $('.emailbody audio');
if(!(!!($audio[0].canPlayType && $audio[0].canPlayType('audio/mpeg;').replace(/no/, '')))) {
var src = $audio.attr('src');
var object_html = '
' +
' ' +
' ' +
' ';
$audio.after($(object_html));
$audio.remove();
}
}
});
RV.save(EmailId, { subject: 'בימים ההם בזמן הזה' , img: 'a939d890-8d34-4de4-a7b0-8cfb7c114584.jpg', type: 2 });
if(LSR.isSupported()) {
var sessionid = 'cnlzjsxs4ig4klxqf3bmfthp';
var unique = !('sessionid' in localStorage) || localStorage.sessionid != sessionid;
if(unique) { if(!('views' in localStorage)) localStorage.views = 1; else localStorage.views++; localStorage.sessionid = sessionid;}
if(!('mailviews' in localStorage)) localStorage.mailviews = 1; else localStorage.mailviews++;
}
if(MYFE.exists(EmailId)) {
var $favorite = $('a[data-action=favorite]');
$favorite.addClass('added-favorite');
$favorite.find('.ico').removeClass('ico-star-empty').addClass('ico-star');
$favorite.find('.tm-icon-text').toggleClass('hidden');
}
$(document).on('click', 'a[data-action=favorite]', function (e) {
if($(this).hasClass('added-favorite')) return;
if(e) e.preventDefault();
var $self = $(this);
$self.addClass('added-favorite');
$self.find('.ico').removeClass('ico-star-empty').addClass('ico-star');
$self.find('.tm-icon-text').toggleClass('hidden');
MYFE.save(EmailId, { subject: 'בימים ההם בזמן הזה' , img: 'a939d890-8d34-4de4-a7b0-8cfb7c114584.jpg', type: 2 });
RV.update(EmailId, {like: true});
like();
$(document).off('click', 'a[data-action="favorite"]');
stats.save({ t: 'content', addtofavoritesclick: 1 });
});
EmailsViewed.save(EmailId);
$('a[data-action=like],a[data-action=send],a[data-target=#modal-share-links]').click(function(){RV.update(EmailId, {like: true});});
//$('.tm-top-bar a').click(function() {stats.save({ t: 'content', breadcrumbsclick: 1 });});
$('.tm-breadcrumbs a').click(function() {stats.save({ t: 'content', breadcrumbsclick: 1 });});
$('.tm-brand-share a').click(function() {stats.save({ t: 'content', staticsharemenuuniqueclick: true });});
$('.tm-content-share-btns a').click(function() {stats.save({ t: 'content', atfsharemenuuniqueclick: true });});
$('.tm-content-sharemenu a').click(function() {stats.save({ t: 'content', btfsharemenuuniqueclick: true });});
$('.tm-modal-share-links a').click(function() {stats.save({ t: 'content', modalsharemenuuniqueclick: true });});
$('a[data-target=#modal-share-links]').click(function () {
stats.save({ t: 'content', shareclick: 1 });
if (window.bulkid > 0)
stats.save({ t: 'bulkcontent', cid: EmailId, ct: 0/*Content*/, bid: window.bulkid, shareclick: 1 });
like();
});
$('a[data-action=send]').click(function(){like();});
$('.tm-content-facebook').click(function() {stats.save({ t: 'content', facebookclick: 1 }); like();});
$('.tm-content-sharemenu-whatsapp').click(function() {stats.save({ t: 'content', whatsappclick: 1 }); like();});
$(document).on('click','.register-btn', function(e) { if($(this).hasClass('tm-reg-btn-save')) stats.save({ t: 'content', signupclick: 1 }); });
//$('.tm-content-tags a').click(function() {stats.save({ t: 'content', tagsclick: 1 });});
$('.tm-tags a').click(function() {stats.save({ t: 'content', tagsclick: 1 });});
$('.tm-show-comments-btn').click(function() {stats.save({ t: 'content', showcommentsclick: 1 });});
$('.tm-related-content .tm-link a').click(function() {stats.save({ t: 'content', relatedcontentclick: 1 });});
//$('.tm-recent-viewed .tm-recent-items a').on('click',function() {stats.save({ t: 'content', recentlyviewedcontentclick: 1 });});
//$('.tm-last-comments .tm-last-comments-items a').on('click',function() {stats.save({ t: 'content', lastcommentscontentclick: 1 });});
$(document).on('click','.tm-popular-content .tm-link a', function() {stats.save({ t: 'content', categorycontentclick: 1 });});
$('.tm-content-sidecontents .tm-link a').click(function() {stats.save({ t: 'content', mostpopularcontentclick: 1 });});
$('.mostpopular-category .tm-link a').click(function() {stats.save({ t: 'content', categorymostpopularcontentclick: 1 });});
$(window).on('comment_added', function () { stats.save({ t: 'content', comment: 1 }); });
//for quizzes stats inside content
$(document).on('click', '.quizzes-category .tm-link a', function () { stats.save({ t: 'content', quizcontentclick: 1 }); });
$(document).on('click', '.tm-content-more-interest-new .tm-link a', function () { stats.save({ t: 'content', relatedcontenttextlinkclick: 1 }); });
$(document).on('click', '.quizzes-items .tm-greeting-cats-boxes .tm-greeting-cat-box a', function () { stats.save({ t: 'content', relatedcontentclick: 1, section: 7 }); });
$(document).on('click', '.health-category .tm-link a, .tm-related-inside-content.health-related .tm-link a', function () { stats.save({ t: 'content', lastcommentscontentclick: 1 }); }); //used for health content click
$(document).on('click', '.copy-to-clipboard', function (e) {
e.preventDefault();
window.copyToClipboard('http://www.baba-mail.co.il/content.aspx?emailid=9338&source=copy');
$.growl.success({ message: 'הקישור הועתק' });
stats.save({ t: 'content', copytoclipboard: 1, section: stats.section });
});
myvp.run(function (vp) { stats.save({ t: 'content', view: EmailId }); });
myvp.run(function (vp) { dynAds.init(function () { return $('div.emailbody').find('div.col-xs-12:not(.tm-link,.recipe-preview .col-xs-12),div.row,.textbanner,span.tm-emailbody-likes-wrapper,tr,p:not(table p,.tm-subject),h1,h2,h3').filter(':visible'); }); });
})(jQuery);
enquire.register(desktop_tablet_selector, desktop_content, true)
.register(mobile_selector, mobile_content, true);
כתוב תגובה
תוכן התגובה:
שם מלא: