Life Style

Sri Lanka: Sri Lanka textile and garment exports fell 23.6% from January to August



var top_of_element = $("#divFacebookComments").offset().top; var bottom_of_element = $("#divFacebookComments").offset().top + $("#divFacebookComments").outerHeight();

var bottom_of_screen = $(window).scrollTop() + $(window).innerHeight(); var top_of_screen = $(window).scrollTop();

$(window).scroll(function (event) { var p = $(".news-details-main"); var offset = p.offset(); var lastScrollTop = offset.top; var st = $(this).scrollTop();

var p1 = $(".newsletter-main"); var offset1 = p1.offset(); var lastScrollTop1 = offset1.top;

if (st > (lastScrollTop + 130) && st < lastScrollTop1 - 780) { $("#arftslider").removeClass("slickfoardis"); } else { $("#arftslider").addClass("slickfoardis"); } //Facebook plugin start //(function () { // var e = document.createElement('script'); // e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; // e.async = true; // document.getElementById('fb-root').appendChild(e); //}()); //window.fbAsyncInit = function () { // FB.init({ appId: '1639088046145622', version: 2.4, xfbml: true }); // if (typeof facebookInit == 'function') { // facebookInit(); // } //}; //function facebookInit() { // FB.XFBML.parse(); //} //Facebook plugin end }); }); $(window).load(function () { $("#arftslider nav").removeClass("aros"); $("#arftslider nav div div div").removeClass("aros"); }); function AppendAudioControltoDiv(hdnAudioURL) { $("#divaudioid").prepend(""); }

Source link

Back to top button