United States District Court
Northern District of Illinois
Honorable Virginia M. Kendall, Chief Judge | Thomas G. Bruton, Clerk of Court
close
expand_more
expand_more
expand_more
expand_more
expand_more
close
The United States District Court for the Northern District of Illinois is dedicated to upholding the highest standards of justice.

News
Next
//
// ${newsItems[currentIndex].headline} //
// // `; // const col2 = document.createElement('div'); // //col2.classList.add('flex-column flex-md-row'); // const nextIndex = (currentIndex + 1) % newsItems.length; // col2.innerHTML = ` //
//
// ${newsItems[nextIndex].headline} //
// Read more //
//
// ${newsItems[nextIndex].headline} //
//
`; // headlinesContainer.appendChild(col1); // headlinesContainer.appendChild(col2); //} function displayHeadlines() { const headlinesContainer = document.getElementById('news-headlines'); headlinesContainer.innerHTML = ''; const col1 = document.createElement('div'); //col1.classList.add('flex-column flex-md-row'); //col1.innerHTML = ` //
//
// ${newsItems[currentIndex].headline} //
// Read more //
//
// ${newsItems[currentIndex].headline} //
//
// `; col1.innerHTML = `
${newsItems[currentIndex].headline}
Read more
${newsItems[currentIndex].headline}
`; const col2 = document.createElement('div'); //col2.classList.add('flex-column flex-md-row'); const nextIndex = (currentIndex + 1) % newsItems.length; //col2.innerHTML = ` //
//
// ${newsItems[nextIndex].headline} //
// Read more //
//
// ${newsItems[nextIndex].headline} //
//
`; col2.innerHTML = `
${newsItems[nextIndex].headline}
Read more
${newsItems[nextIndex].headline}
`; headlinesContainer.appendChild(col1); headlinesContainer.appendChild(col2); } function nextHeadlines() { currentIndex = (currentIndex + 2) % newsItems.length; displayHeadlines(); } function resetInterval() { clearInterval(newsinterval); newsinterval = setInterval(nextHeadlines, 10000); } document.getElementById('next-icon').addEventListener('click', function () { nextHeadlines(); resetInterval(); }); newsinterval = setInterval(nextHeadlines, 9000); displayHeadlines(); });
Contact Us