Connect with us

Wisconsin

Eleven University of Wisconsin Student-Athletes to Participate in Exact Sciences NIL Program

Published

on

Eleven University of Wisconsin Student-Athletes to Participate in Exact Sciences NIL Program


MADISON, Wis. – The University of Wisconsin Athletics and Learfield’s Badger Sports Properties, in collaboration with Exact Sciences, announce the return of the Exact Sciences Athletes program for the 2024-25 academic year. The program will offer name, image, and likeness (NIL) and educational opportunities to 11 Badger student-athletes.

The student-athletes will engage with the company on various initiatives, including career coaching, community events, social media outreach and more. Tailored to the student-athlete’s individual interests, each athlete can explore career paths and build their personal brand through a passion for health care and community giveback.

“We couldn’t be more pleased that the Exact Sciences Athletes program is returning for a second year,” said Mitchell Pinta, UW Deputy Athletic Director. “This is a truly innovative program that allows student-athletes to showcase their skills and make meaningful connections in the healthcare sector, reinforcing our commitment to preparing students for life after college athletics. It has already produced some fantastic outcomes for student-athletes, and we’re excited to see it continue to grow. Thank you to the team at Exact Sciences for partnering with our student-athletes in such a valuable initiative.”

Student-athletes participating in the program include:

Advertisement
  • Austin Brown | Football | Major: Health Promotion and Health Equity | Hometown: Johnston City, Ill.
  • Carter Gilmore| Men’s Basketball |Major: Consumer Behavior | Hometown: Hartland, Wis.
  • Sophia Gruenling | Rowing | Major: Genetics and Genomics | Hometown: Marshfield, Wis.
  • Elissa Perkins | Track & Field | Major: Nursing | Hometown: Bolingbrook, Ill.
  • Ronnie Porter | Women’s Basketball | Major: Family Studies| Hometown: Saint Paul, Minn.
  • Chloe Powell | Rowing | Major: Marketing | Hometown: Menlo Park, Calif.
  • Liam Smith | Rowing | Major: Personal Finance | Hometown: Grand Rapids, Mich.
  • Jason Swarens | Track and Field | Major: Mechanical Engineering | Hometown: Terre Haute, Indi.
  • Bella Vasseur | Women’s Hockey | Major: Applied Mathematics, Engineering, and Physics | Hometown: Oregon, Wisc.
  • Abby Wanezek | Swimming | Major: Kinesiology | Hometown: Elm Grove, Wisc.
  • Jalen Williams | Track and Field | Major: Health Promotion and Health Equity| Hometown: Washington, D.C.

The Exact Sciences Athletes program has expanded from eight to 11 student-athletes following a successful inaugural year that saw 18.5 hours of volunteering, 20 hours of career exploration and one student-athlete landing a full-time position upon their graduation in May 2024.

Katie Boyce, Senior Director, Corporate Impact, Community Relations and Internal Communications said: “We’re really excited about our second year of the Exact Sciences Athletes program. It will continue to highlight our purpose to help eradicate cancer and focus on giving back to the community. We love working with the athletes to bring their passions together with our core values.”

Headquartered in Madison, Wis., Exact Sciences is a leading global provider of cancer screening and diagnostic tests. The company aims to help eradicate cancer by preventing it, detecting it earlier, and guiding personalized treatment.

“This partnership is a perfect example of how collaboration can lead to innovative opportunities,” said Scott Silvestri, Vice President and General Manager of Badger Sports Properties. “We’re thrilled to support Exact Sciences in the second year of this venture, to connect student-athletes to professional networking and career-related experiences tailored to their interests and post-graduate goals.”

Badger Sports Properties, the locally based team of Learfield – the media and technology company powering college sports – is the exclusive multimedia rights holder for UW Athletics and oversees all sponsorship agreements on behalf of the Badgers. Badger Sports Properties does not represent the student-athletes themselves but collaborates with corporate partners to maximize sponsorship agreements with the inclusion of NIL programs and the integration of university marks and logos within those programs.

About Exact Sciences
Exact Sciences is a leading provider of cancer screening and diagnostic tests, with more than 6,500 employees worldwide. Headquartered in Madison, WI, Exact Sciences gives patients and health care professionals the clarity needed to take life-changing action earlier. For more information, visit ExactSciences.com, follow Exact Sciences on X(formerly known as Twitter) @ExactSciences, or find Exact Sciences on LinkedIn and Facebook.

Advertisement

About Learfield
Learfield is the leading media and technology company powering college athletics. Through its digital and physical platforms, Learfield owns and leverages a deep data set and relationships in the industry to drive revenue, growth, brand awareness, and fan engagement for brands, sports, and entertainment properties. With ties to over 1,200 collegiate institutions and over 12,000 local and national brand partners, Learfield’s presence in college sports and live events delivers influence and maximizes reach to target audiences. With solutions for a 365-day, 24/7 fan experience, Learfield enables schools and brands to connect with fans through licensed merchandise, game ticketing, donor identification for athletic programs, exclusive custom content, innovative marketing initiatives, NIL solutions, and advanced digital platforms. Since 2008, it has served as title sponsor for the acclaimed Learfield Directors’ Cup, supporting athletic departments across all divisions.





Source link

Wisconsin

DPI report highlights difficulties retaining teachers in Wisconsin

Published

on

DPI report highlights difficulties retaining teachers in Wisconsin


Nearly one-third of people who complete teacher training never enter the classroom in Wisconsin, and nearly half of the people who do become teachers leave the profession within eight years.

That’s according to a new report from the state Department of Public Instruction that uses data from the 2023-24 school year. It highlighted ongoing challenges with retention even as overall staffing levels at schools remain relatively stable.

The report showed the number of teachers in Wisconsin has remained steady at 64,354 in the 2022-23 school year and 63,956 in the 2023-24 school year. But it also highlighted challenges retaining mid-career teachers due to compensation declines over the last decade and a half.

Understanding Wisconsin, Together.

WPR’s “Wisconsin Today” newsletter keeps you connected to the state you love without feeling overwhelmed. No paywall. No agenda. No corporate filter.

Advertisement

State Superintendent Jill Underly attended a roundtable in Green Bay Monday with K-12 leaders and educators from northeast Wisconsin to talk about ways to boost teacher recruitment and retention in Wisconsin. 

When districts lose educators, Underly said it results in larger class sizes, fewer courses being offered, less individual support for students and a loss of experience in the teaching labor market. 

“We have to focus on keeping great educators in our classrooms,” she said. “They need to feel supported, they need to feel connected and they have to have opportunities to grow.”

Advertisement

Of the more than 5,256 people who completed a teaching training program in the state in 2023-24, around 30 percent, or 1,688, did not become teachers in Wisconsin. 

For those who entered the teaching profession, only 52.6 percent were still working in Wisconsin classrooms by their eighth year on the job, the report says. For special education teachers, the retention rate was only 43.2 percent. 

Underly and others who spoke during the roundtable said compensation is a major reason teachers are either leaving the profession or leaving the state.

According to the report, the total compensation for people entering their 15th year of teaching in 2024 was 22 percent less than it was in 2010 when adjusting for inflation. For teachers entering their 30th year, it was 13 percent less.

In inflation-adjusted dollars, the median teacher compensation in the state in 2010, including salary and benefits, was $110,722. By 2024, that number fell to $88,106.

Advertisement

Underly said low pay means some teachers have to work second jobs to stay in the profession.

“We’re asking a lot of these individuals to work multiple jobs when a job like teaching is so important and so highly valued in our communities,” Underly said. “We’re burning these individuals out, so they do make these choices five (to) eight years in. That’s when we’re losing them.”

Kewaunee School District Superintendent Scott Fritz and Green Bay Area Public School District Superintendent Vicki Bayer participate in an educator workforce roundtable on Monday, April 6, 2026. Joe Schulz/WPR

Andrea Huggett, a middle school math teacher in the Green Bay Area Public School District, said compensation is a major factor. She said she’s “absolutely” been tempted to leave teaching because she could make more money in another profession.

“I’m not in it for the compensation. I’m in it to make a difference,” she said. “But that is a huge factor in my day-to-day life. I have a family, I have a home, I have a mortgage, I have insurance that’s costing more each year, and it’s a big factor in a lot of people’s decisions.”

Mai Vang, director of recruitment and talent development for the Green Bay Area Public School District, said compensation is one of the harder problems for districts to address and is not something that “one person or one school district” would be able to solve. 

Advertisement

Underly said Wisconsin’s “public schools are severely underfunded,” limiting the ability of districts to address the compensation issue. She said the most recent state budget did not include any new general aid to school districts, which requires schools to do more with less. 

“That really puts the burden on the school district, which then puts the burden on local taxpayers to have to pass a referendum,” she said.

Kewaunee School District Superintendent Scott Fritz said his district has not passed an operational referendum but has had to make budget cuts in recent years to try to ensure teachers receive fair compensation.

“We made that choice because we want to continue to have funding so that we can pay our teachers a competitive rate,” he said. “I can’t compete with where Green Bay is at, but I want to be able to compete with school districts our size.”



Source link

Advertisement
Continue Reading

Wisconsin

Wisconsin center Nolan Winter putting up historic efficiency numbers

Published

on

Wisconsin center Nolan Winter putting up historic efficiency numbers


Wisconsin Badgers center Nolan Winter is known as an efficient scorer, but few Badgers fans likely realize just how efficient he has been.

According to Sports Reference, Winter owns the best 2-point field goal percentage in the Big Ten since the 1992-93 season, shooting 69% across his three years in Madison. He sits ahead of stars such as Chris Webber, Owen Freeman and Moritz Wagner on the list of all-time leaders. Winter also made 33% of his 3-pointers this season. His efficiency stands out even more as he shifted to center last year, taking over for Steven Crowl after he graduated. The move required Winter to adapt to a more physical role, with the team needing him in the post.In 31 games this season, Winter averaged 13.1 points and 8.5 rebounds per game. If he returns to Wisconsin next season, he could finish his career as one of the most efficient scorers in program history.

If the Badgers retain Winter, expect Greg Gard and his staff to make him a bigger focal point of the offense next season. Given Winter’s scoring ability, it would be hard to justify anything else. The recent addition of Owen Foxwell, a facilitating point guard, could also create more opportunities for Wisconsin’s frontcourt.

Winter’s rise is another point in Gard’s favor. In recent years, he has helped develop players such as Steven Crowl, John Tonje, John Blackwell, AJ Storr and Nick Boyd.

Advertisement

Contact/Follow @TheBadgersWire on X (formerly Twitter) and like our page on Facebook to follow ongoing coverage of Wisconsin Badgers news, notes and opinion





Source link

Continue Reading

Wisconsin

All clear given by Marquette police following investigation outside Church of the Gesu

Published

on

All clear given by Marquette police following investigation outside Church of the Gesu


A stretch of Wisconsin Avenue that travels through Marquette University in Milwaukee is back open Sunday afternoon following a police investigation.

Advertisement

All clear given by Marquette police following investigation outside Church of the Gesu

A stretch of Wisconsin Avenue that travels through Marquette University in Milwaukee is back open Sunday afternoon following a police investigation.

Advertisement

VERY NICE. >> THANK YOU EASTER BUNNY. >> THANK YOU. >> SO ALL RIGHT. THANK YOU STEPHANIE. AND BEFORE WE GO, WE WANT TO BRING YOU AN UPDATE TO THAT BREAKING NEWS. WE’VE BEEN FOLLOWING ALL SHOW MARQUETTE. POLICE SAY THE INVESTIGATION OUTSIDE THE CHURCH OF THE GESU HAS RESOLVED. GIVING THE ALL CLEAR

Advertisement

All clear given by Marquette police following investigation outside Church of the Gesu

A stretch of Wisconsin Avenue that travels through Marquette University in Milwaukee is back open Sunday afternoon following a police investigation.

Updated: 6:09 PM CDT Apr 5, 2026

Editorial Standards

Advertisement

An all clear has been given following a police investigation along a stretch of Wisconsin Avenue that travels through the campus of Marquette University in Milwaukee. Late Sunday afternoon, police could be seen focusing on a red Chevy Cruze parked outside the Church of the Gesu, and Wisconsin Avenue was closed between 11th and 13th streets. This was after Marquette University Police issued a safety alert asking people to avoid the area of 12th Street and Wisconsin Avenue.Shortly before 5 p.m., a WISN photojournalist was told by a Milwaukee Police Department officer to move back at the scene due to the bomb squad being called in. A K-9 was spotted smelling the car, as well as both around and inside the church. The K9 didn’t appear to find anything.Milwaukee police left around 5:30 p.m., after Wisconsin Avenue reopened. However, Marquette University police remained outside the church and around the Chevy Cruze. University police said shortly before 6 p.m. the issue had been resolved.12 News has reached out to Milwaukee and Marquette University police for details and will update this article as information becomes available.

An all clear has been given following a police investigation along a stretch of Wisconsin Avenue that travels through the campus of Marquette University in Milwaukee.

Advertisement

Late Sunday afternoon, police could be seen focusing on a red Chevy Cruze parked outside the Church of the Gesu, and Wisconsin Avenue was closed between 11th and 13th streets. This was after Marquette University Police issued a safety alert asking people to avoid the area of 12th Street and Wisconsin Avenue.

Shortly before 5 p.m., a WISN photojournalist was told by a Milwaukee Police Department officer to move back at the scene due to the bomb squad being called in. A K-9 was spotted smelling the car, as well as both around and inside the church. The K9 didn’t appear to find anything.

Milwaukee police left around 5:30 p.m., after Wisconsin Avenue reopened. However, Marquette University police remained outside the church and around the Chevy Cruze. University police said shortly before 6 p.m. the issue had been resolved.

Advertisement

12 News has reached out to Milwaukee and Marquette University police for details and will update this article as information becomes available.

Advertisement

`;
}

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

Advertisement

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

var location = { zip: window.DEFAULT_ZIPCODE };

Advertisement

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

Advertisement

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.wisn.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘mobile-weather’, “https://www.wisn.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

Advertisement

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

updateWeatherBackground(weatherData.current.icon_name);
}
}

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

Advertisement

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

`;
}

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

Advertisement

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

Advertisement

var location = { zip: window.DEFAULT_ZIPCODE };

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

Advertisement

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.wisn.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘sidelist-weather’, “https://www.wisn.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

Advertisement

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

updateWeatherBackground(weatherData.current.icon_name);
}
}

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

Advertisement

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

Loading more articles…



Source link

Advertisement
Continue Reading

Trending