Connect with us

Kansas

Missouri Basketball Not Looking Ahead to December Matchup with No. 1 Kansas

Published

on

Missouri Basketball Not Looking Ahead to December Matchup with No. 1 Kansas


BIRMINGHAM, Ala. — Missouri basketball has a long and storied rivalry with the Kansas Jayhawks, dating back to March 11, 1907.

Known as the “Border War,” the rivalry has seen intense matchups over the years, with Kansas holding the upper hand in the series, winning 175 of the 270 games played.

Missouri, however, has claimed 95 victories, some of which are etched in Tigers lore.

One memorable moment for Missouri came in February 2012, when the Tigers, ranked No. 4 in the country, staged an epic comeback against No. 8 Kansas.

Advertisement

Down by eight points with under three minutes to play, Missouri roared back to win 74-71, led by Marcus Denmon’s 29-point performance.

The victory not only energized the program but also added another chapter to the fierce rivalry.

As the Tigers prepare for the 2024-25 season, they are set to face the Jayhawks for the fourth consecutive year after an eight year absence, a game circled on many fans’ calendars.

However, the players are keeping their focus on the present, refusing to get caught up in the hype of facing the No. 1 team in the country.

For Duke transfer forward Mark Mitchell, the Kansas matchup is exciting, but it’s nothing he or the program hasn’t seen before.

Advertisement

“Yeah, obviously it’s cool, you know, getting to play the top teams, top school in the country,” Mitchell said at SEC Media Days on Tuesday. “I don’t think it’s anything new to me, or new to the program. I think we’re a winning program, and I think we can beat anyone on our schedule, but also be beat by anyone on our schedule. When that time comes, it’s gonna be a great atmosphere, a great place, and I’m just really excited to enjoy that moment.”

While the anticipation builds for the annual showdown, Iowa transfer guard Tony Perkins isn’t even thinking about Kansas yet.

For him, the focus is on getting the Tigers ready for the grind of the season and ensuring the team is prepared for every challenge.

“To be truthful with you, we haven’t really even thought about games that far away,” Perkins said. “We’ve mostly just been trying to figure out how we feel, get these days stacked, and just keep going and keep working until that first game comes. When the time comes, we’ll worry about Kansas or whoever, but right now, it’s about getting our team right.”

With the Border War set to reignite in December, Missouri fans are eager for their new-look Tigers to take on the top-ranked Jayhawks.

Advertisement

For now, Dennis Gates’ squad is simply focused on building team chemistry and taking one game at a time as they prepare for a new season.



Source link

Kansas

Multiple communities report damage, 3 people injured after tornado-producing storms

Published

on

Multiple communities report damage, 3 people injured after tornado-producing storms


KANSAS CITY, Mo. (KCTV) – Multiple communities in Kansas have had damage after reported tornadoes and severe storms.

The city of Ottawa, Kansas, says that after the National Weather Service issued a tornado warning at approximately 7:25 p.m. on Monday, April 13, a storm caused structural damage.

Hillsdale Kansas suffered storm damage from possible tornado-producing storm.

Officials say that 3 people suffered minor injuries at a home with significant damage east of Ottawa, in Franklin County. The city says that no injuries or fatalities have been reported within city limits.

Officials say the majority of the town is without power, and streetlights aren’t working. KCTV reported that Main St. from 1st to 6th does have lights back on, as of 10:36 p.m.

Advertisement

Ottawa USD 290 has cancelled school on Tuesday, April 14, due to the storm aftermath.

Multiple buildings in Hillsdale, Kansas, were damaged after reports of a tornado.(DJ Inlow)

Officials are asking community members to stay off the roadways and to stay away from downed power lines. They also say that all City and County emergency personnel are responding to the weather event.

Ottawa’s Police Chief asked people to stay home overnight as they work to clear storm debris from streets

At this time, there is no estimate as to when power will be restored in Ottawa.

In Hillsdale, Kansas, a spotter shared a photo of a tornado. Viewer photos show significant damage there, as well.

Storm damage after reported tornado in Hillsdale, Kansas
Storm damage after reported tornado in Hillsdale, Kansas(DJ Inlow)

KCTV5 will make updates as they’re made available.

Advertisement



Source link

Continue Reading

Kansas

Alert Days ahead: Multiple chances for rain, thunderstorms this week in the Kansas City metro

Published

on

Alert Days ahead: Multiple chances for rain, thunderstorms this week in the Kansas City metro


There are multiple chances for rain and thunderstorms this week, including two First Alert Weather Alert Days highlighting the potential for severe thunderstorms. The first Alert Day is Tuesday. Most of the morning and afternoon will be dry, warm, humid and windy. After 5 p.m., ongoing thunderstorms across Oklahoma and southern Kansas will begin moving northeast toward Kansas City. The risk of severe weather will increase after that time and continue through 1 a.m. Wednesday, as thunderstorms lift across areas primarily along and east of Interstate 35 in eastern Kansas and central Missouri. The primary threats are large to very large hail and damaging winds. The tornado risk is low. The severe weather potential on Wednesday depends on whether the atmosphere is able to recover and destabilize after Tuesday night’s storms, Wednesday morning rain and lingering cloud cover. A dryline and cold front will approach the region from the west during the afternoon and evening, providing the focus for showers and thunderstorms that may produce large hail and damaging winds. Another cold front will bring renewed chances for showers and thunderstorms Friday afternoon and evening, and with conditions similar to Wednesday in place, there is at least some potential for severe thunderstorms. Please keep in mind that while this is a common and favorable pattern for showers and thunderstorms, most thunderstorms this week will not produce severe weather. That said, sufficient wind shear, lift, instability and moisture on Tuesday, Wednesday and Friday will provide an environment where thunderstorms could thrive and support all types of severe weather. Check the forecast twice daily for updates, review your severe weather safety plan and have multiple ways to receive weather alerts.

There are multiple chances for rain and thunderstorms this week, including two First Alert Weather Alert Days highlighting the potential for severe thunderstorms.

The first Alert Day is Tuesday. Most of the morning and afternoon will be dry, warm, humid and windy. After 5 p.m., ongoing thunderstorms across Oklahoma and southern Kansas will begin moving northeast toward Kansas City. The risk of severe weather will increase after that time and continue through 1 a.m. Wednesday, as thunderstorms lift across areas primarily along and east of Interstate 35 in eastern Kansas and central Missouri.

Advertisement

The primary threats are large to very large hail and damaging winds. The tornado risk is low.

Advertisement

The severe weather potential on Wednesday depends on whether the atmosphere is able to recover and destabilize after Tuesday night’s storms, Wednesday morning rain and lingering cloud cover.

A dryline and cold front will approach the region from the west during the afternoon and evening, providing the focus for showers and thunderstorms that may produce large hail and damaging winds.

This KMBC 9 weather map shows that severe storms are possible around the entire Kansas City region on Wednesday afternoon and evening.

Advertisement

Another cold front will bring renewed chances for showers and thunderstorms Friday afternoon and evening, and with conditions similar to Wednesday in place, there is at least some potential for severe thunderstorms.

Please keep in mind that while this is a common and favorable pattern for showers and thunderstorms, most thunderstorms this week will not produce severe weather. That said, sufficient wind shear, lift, instability and moisture on Tuesday, Wednesday and Friday will provide an environment where thunderstorms could thrive and support all types of severe weather.

Check the forecast twice daily for updates, review your severe weather safety plan and have multiple ways to receive weather alerts.

This KMBC 9 weather map shows severe storms are possible in the entire Kansas City region on Friday.

Advertisement



Source link

Continue Reading

Kansas

Multiple chances of strong thunderstorms this week for Kansas City

Published

on

Multiple chances of strong thunderstorms this week for Kansas City


Multiple chances of strong thunderstorms this week for Kansas City

Advertisement

TODAY WAS IMPACT DAY FOR THE RAIN THAT MOVED OUT FOR THE NIGHT THOUGH. METEOROLOGIST PETE GRIGSBY JOINING ME NOW PETE. A VERY RAINY DAY AHEAD. A KIND OF A CHILL RAIN THOUGH BEFORE THESE STORMS ROLL IN. IT WAS, BUT IT WAS VERY GENTLE, KIND OF A LIGHT TO MODERATE RAINFALL AT MOST. AND YOU KNOW WHAT? IT’S WELL NEEDED RAINFALL. THOSE YOU SOUTH OF I-670. SOME OF YOU GOT POCKETS OF ABOUT A HALF AN INCH TOTAL FOR TODAY. NOT BAD. FARTHER NORTH, NOT AS MUCH, BUT STILL THE NUMBERS ARE FAIRLY IMPRESSIVE WITH SOMETHING THAT REALLY DIDN’T PRODUCE A MAJOR THUNDERSTORM. A HEAVY DOWNPOURS LIKE THAT. SO WE LIKE THAT. BUT HOWEVER, THINGS ARE ABOUT TO CHANGE AS WE DEAL WITH SOMETHING TOTALLY DIFFERENT WHEN IT COMES TO TUESDAY AND WEDNESDAY. WE MADE THEM ALERT DAYS BECAUSE SEVERE WEATHER THREATS, MOSTLY IN THE AFTERNOONS AND EVENING HOURS FOR BOTH DAYS, ANYTHING FROM WIND, HAIL, DAMAGING HAIL. OF COURSE, A LARGE SIZE AND TORNADIC THREAT IS ALSO INVOLVED WITH THAT. AS WE GET MORE INFORMATION IN, ESPECIALLY THROUGH TOMORROW, WE CAN FINE TUNE IT, ESPECIALLY WHAT WE CAN BE STACKING THE SHOW WITH. WHAT’S MORE IMPORTANT. OKAY, THAN KEEPING AN ALERT ON THIS. ALL OF EASTERN KANSAS AND MISSOURI. LOOK HOW MUCH REAL ESTATE THAT COVERS, ESPECIALLY FOR TUESDAY AND COME WEDNESDAY, IT REALLY DOESN’T CHANGE THAT MUCH. IT’S JUST KIND OF MIGRATES SLIGHTLY TO THE EAST. SO NO DOUBT TWO DAYS TO KEEP A CLOSE EYE OUT AND KEEP IT TUNED RIGHT HERE ON CHANNEL NINE FOR UPDATES. A QUIET, BEAUTIFUL NIGHT. SO DON’T WORRY ABOUT ANYTHING OVERNIGHT TONIGHT. WE’RE COMFORTABLE 69 DEGREES. OUR WIND FLOW ABOUT 16 MILES AN HOUR, AND TOMORROW MORNING WILL START OUT ABOUT 64 TO 65 FOR YOUR MORNING START HEADING FOR A VERY NICE COMFORTABLE AFTERNOON. AND THEN TUESDAY WILL BE THE KEY DAY TO KEEP AN EYE OUT. MORE ABOUT THAT OF COURSE YOUR NINE DAY FORECAST. THAT’S ALL COMING UP IN OUR KMBC NINE NEWS APP HELPS YOU STAY AHEAD OF THE RAIN. GET ALERTS SENT STRAIGHT TO YOUR PHONE AND TRACK STORMS IN REAL TIME. WITH O

After a round of beneficial rain Sunday, the focus now shifts to a more active stretch of weather across the Kansas City area.Tuesday and Wednesday are both Alert Days, with multiple chances for thunderstorms developing across eastern Kansas and western Missouri.Storms are most likely during the afternoon and evening hours both days, when conditions will be more favorable for stronger development.The main threats will be strong wind gusts and large hail, and there is also a tornado risk that cannot be ruled out.This setup covers a large part of the region, so much of the Kansas City metro could see impacts at some point during this stretch. Timing and specific impacts will become clearer as we get closer.Conditions stay quiet and warm through Monday before storm chances increase.The bottom line is to stay weather aware and make sure alerts are enabled on your phone as we head into midweek.

Advertisement

After a round of beneficial rain Sunday, the focus now shifts to a more active stretch of weather across the Kansas City area.

Tuesday and Wednesday are both Alert Days, with multiple chances for thunderstorms developing across eastern Kansas and western Missouri.

Advertisement

Storms are most likely during the afternoon and evening hours both days, when conditions will be more favorable for stronger development.

The main threats will be strong wind gusts and large hail, and there is also a tornado risk that cannot be ruled out.

This setup covers a large part of the region, so much of the Kansas City metro could see impacts at some point during this stretch.

Timing and specific impacts will become clearer as we get closer.

Conditions stay quiet and warm through Monday before storm chances increase.

Advertisement

The bottom line is to stay weather aware and make sure alerts are enabled on your phone as we head into midweek.

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.kmbc.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘mobile-weather’, “https://www.kmbc.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.kmbc.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘sidelist-weather’, “https://www.kmbc.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