// Change browser’s URL to show short link a la http://spoiledmilk.com/blog/html5-changing-the-browser-url-without-refreshing-page/
if (location.protocol == ‘http:’) { window.history.pushState(”, ”, ‘/go/influential’); }
jQuery(jQuery(‘#story .col-8’)[0]).toggleClass(‘col-8′,’col-12’);
jQuery(“”, {
rel: ‘stylesheet’,
type: ‘text/css’,
href: ‘http://files.onset.freedom.com/ocregister/news/2016/influential/main.css’
}).appendTo(“head”);
jQuery(function() {
// Remove the furniture on desktop devices
jQuery(‘#headline-wrapper’).remove();
jQuery(‘#article-wide-lead-extra’).next().next().hide();
jQuery(‘#article-wide-lead-extra’).next().hide();
jQuery(‘#D-block’).remove();
jQuery(‘#F-block’).remove();
jQuery(‘#SectionPromotionsBlock’).remove();
jQuery(‘#SubNavWrapper’).remove();
jQuery(‘.news-rail’).remove();
// Remove the furniture on mobile devices
jQuery(‘#articleHeading’).remove();
jQuery(‘.homeCatLink’).remove();
jQuery(‘.influentialfilterbutton’).click(function () {
var className = this.id.replace(‘Button’,”);
if (className == ‘all’) {
jQuery(‘.influentialatoz .influentialitem’).show();
jQuery(‘.influentialfilterbutton’).css(‘background-color’,’white’);
jQuery(this).css(‘background-color’,’rgb(253, 184, 30)’);
} else {
jQuery(‘.influentialatoz .influentialitem’).hide();
jQuery(‘.influentialfilterbutton’).css(‘background-color’,’white’);
jQuery(‘.influentialatoz .’ + className + ‘influencer’).show();
jQuery(this).css(‘background-color’,’rgb(253, 184, 30)’);
}
})
});