Top Texas stories of the year as we look ahead

–> 650) { if (br_header.classList.contains(“is-scrolling–not-top”) ) { logo_bg.setAttribute(“style”, “background-image: url(‘https://www.kxan.com/wp-content/uploads/sites/40/2020/06/KXAN-Generic_Whitesharp_1519662573983_35278855_ver1.0-1.png’)”); } if (br_header.classList.contains(“is-scrolling–top”) ) { logo_bg.setAttribute(“style”, “background-image: url(‘https://www.kxan.com/wp-content/uploads/sites/40/2020/06/KXAN-Desktop-Main-Header_600x106.png’)”); } } } // –> }); var whereAmI = window.location.href; console.log(‘whereAmI: ‘ + whereAmI); if (whereAmI.search(‘/save-our-students/’) > 0 ) { var moreSOS = document.querySelector(“#ns-article-bin-41 > section > div.article-list__read-more.article-list__read-more–w-arrow > a”); moreSOS.innerHTML = ‘More Save Our Students’; } if (whereAmI.search(‘/s-o-s/’) > 0 ) { var sosCategoryHeader = document.querySelector(“#content > section > div > h1.article-list__heading”); var autoflowHeader = document.querySelector(“#main > section > h2.article-list__heading”); sosCategoryHeader.innerHTML = “More Save Our Students”; autoflowHeader.innerHTML = “More Save Our Students Headlines”; } ]]> section > div.article-list__read-more > a”); // theLink.setAttribute(‘href’,’https://www.kxan.com/news/your-local-election-hq/’); // if (theLink) { // console.log(‘ ‘); // console.log(‘theLink exists’); // console.log(‘ ‘); // var theLink = document.querySelector(“#ns-article-bin-28 > section > div.article-list__read-more.article-list__read-more–w-arrow > a”); // theLink.setAttribute(‘href’,’https://www.kxan.com/investigations/’); // } ]]>

Related Post

Be the first to comment

Leave a Reply

Your email address will not be published.


*