Legislation

Trump’s tax returns: Leaked strategy reveals GOP plotting all-out battle to keep them secret

Trump’s tax returns: Leaked strategy reveals GOP plotting all-out battle to keep them secret

“;
var main_2 = jQuery( ‘.rs-main-2-ll-target’ );
var main_2_offset = main_2.offset();
var main_2_ll_triggered_flag = false;

var main_4_code = “

propertag.cmd.push(function() { proper_display(‘rawstory_side_4’); }); “+”ipt>

“;
var main_4 = jQuery( ‘#rs-main-4-ll-target’ );
var main_4_offset = main_4.offset();
var main_4_ll_triggered_flag = false;

var survey_code = ““;
var survey = jQuery( ‘#below-comment-survey’ );
var survey_offset = survey.offset();
var survey_ll_triggered_flag = false;

var screen_height = jQuery( window ).height();

jQuery(window).scroll(function() {

var scroll_pos = jQuery(window).scrollTop();
//console.log( ‘Scroll position: ‘ + scroll_pos );

/*
if( scroll_pos > ( main_2_offset.top – screen_height ) ) {
if( main_2_ll_triggered_flag == false ){
console.log( “lazy load rs main 2 footer” );
main_2.html( main_2_code );
main_2_ll_triggered_flag = true;
}
}
*/
if( scroll_pos > ( main_4_offset.top – screen_height ) ) {
if( main_4_ll_triggered_flag == false ){
console.log( “lazy load rs main 4 sidebar” );
main_4.html( main_4_code );
main_4_ll_triggered_flag = true;
}
}
if( scroll_pos > ( survey_offset.top – screen_height ) ) {
if( survey_ll_triggered_flag == false ){
console.log( “lazy load below content survey” );
survey.html( survey_code );
survey_ll_triggered_flag = true;
}
}
});

(function(){ var zergnet = document.createElement(‘script’); zergnet.type = ‘text/javascript’; zergnet.async = true; zergnet.src = (document.location.protocol == ‘https:’ ? ‘https:’ : ‘http:’) + ‘//www.zergnet.com/zerg.js?id=63310’; var znscr = document.getElementsByTagName(‘script’)[0]; znscr.parentNode.insertBefore(zergnet, znscr) })(); “+”ipt>
“;
//var zergnet_below_content_code = “(function(){ var zergnet = document.createElement(‘script’); zergnet.type = ‘text/javascript’; zergnet.async = true; zergnet.src = (document.location.protocol == ‘https:’ ? ‘https:’ : ‘http:’) + ‘//www.zergnet.com/zerg.js?id=65997’; var znscr = document.getElementsByTagName(‘script’)[0]; znscr.parentNode.insertBefore(zergnet, znscr) })(); “+”ipt>
“;
var survey_code = ““;
var connatix_in_content_code = ”;
var ora_below_content_code = “”;

var rs_main_2_code = “

propertag.cmd.push(function() { proper_display(‘rawstory_main_2’); }); “+”ipt>

“;
var rs_main_4_code = “

propertag.cmd.push(function() { proper_display(‘rawstory_side_4’); }); “+”ipt>

“;

//console.log( “lazy load connatix in content” ); jQuery(‘#story-page-embedded-after2-ad’).html( connatix_in_content_code );

//console.log( “lazy load ora below content” ); jQuery(‘#oratv-desktop-container’).html( ora_below_content_code );

//console.log( “lazy load zergnet below_content” ); jQuery(‘#zergnet-below-content-ll-target’).html( zergnet_below_content_code );

console.log( “lazy load zergnet sidebar” );
jQuery(‘#zergnet_lazy_target’).html( zergnet_sidebar_code );

//console.log( “lazy load below content survey” );
//jQuery(‘#below-comment-survey’).html( survey_code );

//console.log( “lazy load rs main 4 sidebar” );
//jQuery(‘#rs-main-4-ll-target’).html( rs_main_4_code );

//console.log( “lazy load rs main 2 foooter” );
//jQuery(‘.rs-main-2-ll-target’).html( rs_main_2_code );

});

Google+

Go to Source
Author:

Powered by WPeMatico