Întâi de toate, nu face rău Vino la evenimentul ”Leadership 4.0” pentru a învăța despre...



Articol preluat din Revista Cariere de octombrie. Pentru detalii legate de abonare, click aici














  • Articole



    • Leadership






    • Antreprenor






    • Inspiratie






    • Inovație






  • Evenimente

  • Arhiva CARIERE


  • Joburi



    • Vezi toate anunțurile




    • Cont angajatori






CARIERE no. 256, aprilie 2019CARIERE no. 256, aprilie 2019
Citește-te acum












w3.includeHTML();






CARIERE no. 256, aprilie 2019CARIERE no. 256, aprilie 2019
Citește-te acum






var $ = jQuery;
$(document).ready(function() {

$(".fb-comments").attr("data-href", window.location.href);

set_recent_articles_max_height();
$(window).resize(function(){
set_recent_articles_max_height();
});

if( $('.has-related').children().length == 0 ) {
$('.related-content').addClass('hide');
}

$('.twitter-share').click(function() {
var width = 575,
height = 400,
left = ($(window).width() - width) / 2,
top = ($(window).height() - height) / 2,
url = this.href,
opts = 'status=1' +
',top=' + top +
',left=' + left;

window.open(url, 'twitter', opts);

return false;
});


$('.linkedid-share').click(function() {
var width = 575,
height = 400,
left = ($(window).width() - width) / 2,
top = ($(window).height() - height) / 2,
url = this.href,
opts = 'status=1' +
',top=' + top +
',left=' + left;

window.open(url, 'linkedin', opts);

return false;
});

var article_top = $('.article--content').offset().top;
var article_bottom = article_top + $('.article--content').height();
$('.article--content').css('min-height', ($('.article--social-media-panel').height() + 10)+'px');
adjust_social_media_panel(article_top, article_bottom, $(document).scrollTop());

$(window).scroll(function() {
article_top = $('.article--content').offset().top;
article_bottom = article_top + $('.article--content').height();
adjust_social_media_panel(article_top, article_bottom, $(document).scrollTop());
});
});

function set_recent_articles_max_height() {
var article_height = 0;
$('.count-article-height').each(function( index, value ) {
if($('.count-article-height').size() != index + 1) {
article_height += parseInt($(this).outerHeight(true));
} else {
article_height += parseInt($(this).outerHeight());
}
});
var above_recent_articles = ($('.latest-articles-home>div').outerHeight(true) + $('.latest-articles-home> h3').outerHeight(true) );
$('.latest-articles-home--list').css('max-height', (article_height - above_recent_articles)+'px');
}

function adjust_social_media_panel(article_top, article_bottom, scroll_top) {

if(scroll_top >= article_top && scroll_top <= article_bottom ) {
if(article_bottom - scroll_top <= $('.article--social-media-panel').height() ) {

$('.article--social-media-panel').css({'position':'absolute', 'top':'auto', 'left':'0', 'bottom':'0' });
} else {
var top = 99;
var left = parseInt($('.container').css('margin-left'));

if($('.article.article--lg').parent().hasClass('is-offset-1-desktop')){
left += parseInt($('.article.article--lg').parent().css('margin-left'));
}
$('.article--social-media-panel').css({'position':'fixed', 'top':top+'px', 'left':left+'px', 'bottom':'auto' });
}

} else {
$('.article--social-media-panel').css({'position':'absolute', 'top':'0', 'left':'0', 'bottom':'auto' });
}
}












© 2019 Copyright Revista Cariere. Toate drepturile rezervate.






(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.10&appId=150853738859959';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));.yuzo_related_post{}
.yuzo_related_post .relatedthumb{}

/* */

/* */

jQuery(document).ready(function($){
if(!catapultReadCookie("catAccCookies")){ // If the cookie has not been set then show the bar
$("html").addClass("has-cookie-bar");
$("html").addClass("cookie-bar-top-bar");
$("html").addClass("cookie-bar-bar");
// Wait for the animation on the html to end before recalculating the required top margin
$("html").on('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(e) {
// code to execute after transition ends
var barHeight = $('#catapult-cookie-bar').outerHeight();
$("html").css("margin-top",barHeight);
$("body.admin-bar").css("margin-top",barHeight-32); // Push the body down if the admin bar is active
});
}
});


jQuery(document).ready(function($){

$('form.newsletter-form').on('submit',function(e){
e.preventDefault();
$.getJSON("https://www.whiteimage.eu/clients/wlm/services/subscriber_service.php",
{
'fv[email] ': $(this).find('input[type="email"]').val(),
'service_key': '61e04b56b2852497b7e2ce0325853867',
'list_id': 3796,
'method': 'save'
}
).done(function( data ) {
if(typeof(data.code) != 'undefined' && data.code == 1 ) {
$('form.newsletter-form').each(function(){
$(this).parent().append('
Te-ai inscris cu success la newsletterul nostru! Te rugăm confirmă înscrierea.');
});
setTimeout(function () {
$('form.newsletter-form').each(function() {
$(this).parent().find('.text-success').remove();
})
}, 10000)
} else {
$('form.newsletter-form').each(function(){
$(this).parent().append('
A intervenit o eroare. Te rugăm încearcă mai târziu!');
});
setTimeout(function () {
$('form.newsletter-form').each(function() {
$(this).parent().find('.text-success').remove();
})
}, 10000)
}
});
return false;

});
})

Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...