Connect with us

Wisconsin

Milwaukee's oldest gay bar donates thousands of photos to Wisconsin LGBTQ History Project

Published

on

Milwaukee's oldest gay bar donates thousands of photos to Wisconsin LGBTQ History Project


Thousands of photos taken over the last 50 years at Milwaukee’s oldest gay bar are now in the hands of the Wisconsin LGBTQ History Project. And while 50 years may not seem like that long ago, photos of people inside gay bars at that time were incredibly rare. 

That’s according to Michail Takach, chair of the Wisconsin LGBTQ History Project.

“For most of the 20th Century, gay bars were technically illegal. They operated kind of underground,” he said. “It’s extraordinarily rare for there to be photos inside gay bars before the 90s because people were so uncomfortable with being seen in a gay space.”

Stay informed on the latest news

Sign up for WPR’s email newsletter.

Advertisement

Takach said people feared blackmail or weren’t out in their everyday lives, so to have a collection from that time period is “almost unheard of.”

But the History Project is now processing thousands of photos taken at This Is It! bar, a staple in Milwaukee’s LGBTQ+ community since it was opened in 1968 by June Brehm.

“She was a married woman and a business owner in the Milwaukee suburbs who’d worked in the restaurant industry and had a lot of gay friends,” Takach recalled. “She couldn’t believe what they put up with just to be in a place where they could be themselves.”

Advertisement
Milwaukee’s oldest gay bar This is It! photographed in the mid 1970s. The bar recently donated thousands of photos to the Wisconsin LGBTQ History Project for preservation. Photo courtesy of the Wisconsin LGBTQ History Project

When Brehm opened This Is It! she started taking photos of the people at her bar. The images depict everyday life. People posing, laughing and enjoying beers. They span decades — showing changing fashion as regulars age through the years.

Toward the end of June Brehm’s life, her son Joe Brehm took over management of the bar and continued the tradition. Slideshows of the photos from the 90s onward can be seen on monitors in the bar to this day.

June Brehm and her son Joe Brehm.
June Brehm and her son Joe Brehm pose for a photo at This is It! bar in Milwaukee. June Brehm opened the bar in 1968 and began photographing patrons. Thousands of those photos were recently donated to the Wisconsin LGBTQ History Project for preservation. Photo courtesy of the Wisconsin LGBTQ History Project

This Is It! has since passed out of family ownership and is now owned and operated by George Schneider and Trixie Mattel. Schneider said when he came on board, he found shoe boxes full of old Polaroids and prints from the bar’s earliest days.

While he worked to digitize some of them, he decided the project needed help from the professionals. 

“When I took the business over completely, I felt like I was the custodian of the history,” Schneider said. “It’s very important for me to educate — especially the younger generations that we have coming in — educate them on some of the history of the space itself, the queer community overall.”

A woman poses for a photo during a Halloween party at This is It! bar in Milwaukee.
A woman poses for a photo during a Halloween party at This is It! bar in Milwaukee. Thousands of photos of the city’s first gay bar were recently donated to the Wisconsin LGBTQ History Project for preservation. Photo courtesy of the Wisconsin LGBTQ History Project

So Takach stepped in. He proposed the History Project scan and archive all of the photos, put them on social media for people to see, while preserving them indefinitely. That work is ongoing.

“When you have a place that’s meant so much, and has been a spiritual center for the community as long as This Is It! has been … that’s really quite a powerful narrative to carry forward and quite a powerful legacy to have in our hands,” he said.

Advertisement

Some batches of photos have already been posted to the History Project’s Facebook page, and more will be added in the coming weeks and months. 

For now, Schneider is enjoying all of the activity online, as members of the community identify people in the photos and share memories from the bar. 

Two men smile for a photo at This is It! bar in Milwaukee.
Two men smile for a photo at This is It! bar in Milwaukee. Thousands of photos of the city’s first gay bar were recently donated to the Wisconsin LGBTQ History Project for preservation. Photo courtesy of the Wisconsin LGBTQ History Project

“Watching the feedback and the response on social media … the nostalgia, the memories that it evokes, and IDing people that maybe they haven’t thought of or seen in years, I think that’s the most rewarding next step,” he said.

Takach is just glad to see more people wanting to preserve this kind of history.

“So much of LGBT history was destroyed by people who were just ashamed of it and didn’t know what to do with it and didn’t want anyone to know about it,” he said. “And now we’re kind of seeing the reversal of that. And we’re seeing an evolution of this understanding that this content has value.”

Wisconsin LGBTQ History Project on the road this summer

People across the state can explore those photos and troves of other historical exhibits this summer as the History Project takes to the road.

Advertisement

The organization will hit 20 communities in their Summer to be Seen tour, showcasing people, organizations and places key to Wisconsin LGBTQ+ history. They’ll also give people the chance to share their own stories — building the project’s archive. 

Two men smile for a photo at This is It! bar in Milwaukee.
Two men smile for a photo at This is It! bar in Milwaukee. Thousands of photos of the city’s first gay bar were recently donated to the Wisconsin LGBTQ History Project for preservation. Photo courtesy of the Wisconsin LGBTQ History Project

“We’re going to them because the new generations are telling us that they don’t want to have to travel to someone else’s town to have pride festivals,” Takach said. “So this year, we’re going places like Rhinelander and Ashland and Ripon and Platteville and Door County, Wausau — places that are not traditionally seen as gay epicenters — to really extend the value, the reach and the impact of our work.”

Those events run through early October, more details can be found on their website.



Source link

Wisconsin

Wisconsin basketball adds SEC opponent to 2026-27 schedule

Published

on

Wisconsin basketball adds SEC opponent to 2026-27 schedule


The Wisconsin Badgers men’s basketball team wasted no time scheduling an SEC opponent for the 2026-27 season.

Alex Rosinski confirmed the Badgers will head to Nashville on December 19 to play Auburn, a team competing for the NIT Championship on April 5.

The Tigers were the talk of the town come Selection Sunday with their 17-16 record. Claiming it had the nation’s best win at Florida on January 24, Auburn did everything in its power to talk its way into the NCAA Tournament. Instead, the team had to settle for the NIT.

Auburn has taken care of business against South Alabama, Seattle U, Nevada, and Illinois State en route to the championship game against Tulsa.

Advertisement

The Milwaukee Journal Sentinel also confirmed Wisconsin’s game against Auburn on December 19 will take place at the Bridgestone Arena. Auburn usually plays its home games at the Neville Arena, which is about a five-hour trip from the home of the Nashville Predators.

Even though Wisconsin is coming off a disappointing tournament loss, Greg Gard isn’t messing around. This is yet another high-profile non-conference game he’s added to the team’s schedule. For what it’s worth, this is only the second all-time meeting between these two teams.

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





Source link

Advertisement
Continue Reading

Wisconsin

Chilly Start To Easter but at least it is drying out in SE Wisconsin

Published

on

Chilly Start To Easter but at least it is drying out in SE Wisconsin


Chilly Start To Easter but at least it is drying out in SE Wisconsin

After a very wet start to the month, we are finally drying out in SE Wisconsin

Advertisement

WE POSTED IT UNDER THE LINKS TAB ON THE 12 NEWS APP, AND YOU’RE GOING TO WANT TO DRESS WARMLY IF YOU’RE HEADED TO BRUNCH TOMORROW. CHURCH, YOU MIGHT NEED A JACKET. >> YEAH, WIND CHILLS ARE GOING TO BE IN THE 20S, SO IT’S NOT EXACTLY GOING TO BE WARM. IT GETS A LITTLE BIT BETTER AS THE DAY GOES ON, AND WE WILL GET SOME SUN TOMORROW. MORE THAN WHAT WE’VE HAD FOR TODAY. NOW SOME OF YOU GETTING A LITTLE GLIMPSE HERE AND THERE. THE SUN, IT HASN’T LASTED VERY LONG. BUT THE GOOD THING IS IT’S A DRY DAY. BUT THE CROWD. IF YOU’RE TRYING TO DO EASTER EGG HUNTS OUTSIDE, IT IS MUDDY, MUSHY. TAKE IT FROM A GUY WHO PLAYED GOLF TODAY. IT WAS VERY, VERY WET, COOLER, MORE SUNSHINE. AS THE DAY GOES ON, WHICH IS NICE. WE’LL GET MORE SUN, BUT WE’RE DRY ALL DAY. TEMPERATURES WARM UP TO AROUND 50. ALL RIGHT, LET’S TALK ABOUT NEXT WEEK. MAINLY DRY UNTIL WEDNESDAY. CHILLY THROUGH TUESDAY, ESPECIALLY MONDAY AND TUESDAY. TUESDAY ESPECIALLY HIGHS ONLY IN THE 30S. THAT’S NOT GOING TO BE VERY NICE. SHOWERS LIKELY. WEDNESDAY. THURSDAY. FRIDAY. SATURDAY. WE DON’T NEED THE RAIN BUT WE HAVE MORE RAIN IN THE FORECAST. WHEN I SAY WE DON’T NEED RAIN, THIS IS WHAT I MEAN. FOR THE MONTH, WE’VE ONLY HAD FOUR DAYS AND WE’VE HAD 3.5IN OF RAIN. WE ARE WAY ABOVE AVERAGE FOR THE MONTH AND THAT HAS MADE US A PRETTY GOOD AMOUNT ABOVE AVERAGE FOR THE YEAR. AND IT’S ALL ABOUT THE LAST FOUR DAYS WHEN YOU PICKED UP SO MUCH RAIN. IT’S JUST BEEN ROUND AFTER ROUND. AND YES, MORE RAIN IS IN THE FORECAST AS WE HEAD INTO THE MIDDLE AND LATTER PARTS OF NEXT WEEK. CHECK OUT THE SATELLITE MAP. YOU CAN ACTUALLY SEE THE CENTER OF LOW PRESSURE MOVING RIGHT OVER MINNEAPOLIS RIGHT NOW. THAT IS GOING TO CONTINUE TO BRING THESE CLOUDS AROUND, BUT THERE’S GOING TO BE MORE BREAKS AS TIME GOES ON. I THINK TOMORROW IS GOING TO BE A DECENT DAY. THERE ARE A FEW. WOULDN’T BE SURPRISED TO SEE A COUPLE LITTLE PASSING FLURRIES. AND THEN FOR TOMORROW MIGHT GET AN ISOLATED SPRINKLE LATER IN THE DAY. BUT IT’S IT’S NOT BAD. STILL WINDY THOUGH. NOT AS WINDY AS IT IS RIGHT NOW. ALL RIGHT. AGAIN, THIS IS KIND OF WHAT I’M TALKING ABOUT WITH THESE PASSING FLURRIES. THIS IS MONDAY AS WE WORK OUR WAY THROUGH MONDAY. IT’S THE SAME KIND OF STORY. IT’S NOT COMPLETELY SUNNY. IT’S NOT COMPLETELY CLOUDY. AGAIN, POSSIBLY SEEING A TINY FLURRY OR TWO. NOW NEXT WEEK, AS WE WORK OUR WAY IN THE MIDDLE OF THE WEEK, THAT’S WHEN THESE ROUNDS OF SHOWERS WILL BE COMING IN. OVERALL, YES, A SOGGY FORECAST STARTING ON WEDNESDAY. WE’RE NOT GOING TO RAIN THE ENTIRE TIME, BUT IT’S GOING TO BE ROUNDS OF RAIN. AND AGAIN, WE DON’T REALLY NEED IT LIVE. LOOK OUTSIDE. THAT. IT’S ACTUALLY PRETTY 43 DEGREES IN WAUKESHA AND WIND CHILLS ARE HANGING OUT AROUND. FREEZING. WON’T BE LONG. THEY’LL BE CARS BACK ON THE TRACKS. THERE WILL BE TONS OF PEOPLE ENJOYING ROAD AMERICA AND IT WON’T BE LONG. WE’LL SEE A LOT OF BOATS OUT HERE ON DELAVAN LAKE. TEMPERATURE 45 DEGREES. RIGHT NOW YOU CAN SEE THAT COOL AIR AND IT’S NOT GOING TO GO ANYWHERE. IT’S COOL AROUND HERE. RIGHT NOW, 46 IN MILWAUKEE IS THE WARMEST TEMP, 51 FOR TOMORROW. IT’S ABOUT EXACTLY NORMAL. BUT AGAIN, THE MORNING IS GOING TO BE CHILLY FOR SURE. MONDAY 46 ELECTION DAY A HIGH OF ONLY 38. BUT IT’S DRY AND THEN RAIN SHOWERS WEDNESDAY, THURSDAY, FRIDAY. SATURDAY. GREAT.

Advertisement

Chilly Start To Easter but at least it is drying out in SE Wisconsin

After a very wet start to the month, we are finally drying out in SE Wisconsin

Updated: 5:57 PM CDT Apr 4, 2026

Advertisement

Editorial Standards

After a very wet start to the month, we are finally drying out in SE Wisconsin

After a very wet start to the month, we are finally drying out in SE Wisconsin

Advertisement



Source link

Advertisement
Continue Reading

Wisconsin

AMBER ALERT: Police say eight-year-old Wisconsin girl is missing

Published

on

AMBER ALERT: Police say eight-year-old Wisconsin girl is missing


Police believe she is in a vehicle last seen driving Friday afternoon in Monroe County.

Advertisement

AMBER ALERT: Police say eight-year-old Wisconsin girl is missing

Police believe she is in a vehicle last seen driving Friday afternoon in Monroe County.

Advertisement

Updated: 6:01 AM CDT Apr 4, 2026

Editorial Standards

Advertisement

An AMBER Alert is out for a Wisconsin girl.Police say eight-year-old Irene Lentz from Wautoma may be with Joseph Nicpon Jr. and Betty Lentz.Authorities believe Irene is in a 2005 Blue Buick Terraza with the license plate number BCU3028. Police say the vehicle was last seen at approximately 12:55 p.m. Friday driving westbound on I-90 in Monroe County near Sparta.If anybody knows where Irene may be, they are asked to immediately call the Wautoma Police Department at (920) 787-3321.

An AMBER Alert is out for a Wisconsin girl.

Police say eight-year-old Irene Lentz from Wautoma may be with Joseph Nicpon Jr. and Betty Lentz.

Advertisement

Screenshot

Wisconsin Crime Network

Police believe Irene Lentz is in this 2005 Blue Buick Terraza with the license plate number BCU3028. Authorities say the vehicle was last seen at approximately 12:55 p.m. Friday driving westbound on I-90 in Monroe County near Sparta.

Authorities believe Irene is in a 2005 Blue Buick Terraza with the license plate number BCU3028. Police say the vehicle was last seen at approximately 12:55 p.m. Friday driving westbound on I-90 in Monroe County near Sparta.

Advertisement

If anybody knows where Irene may be, they are asked to immediately call the Wautoma Police Department at (920) 787-3321.

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