Connect with us

Kansas

Kansas Legislature opens 2024 session amid tax policy salvo, dash of winter weather – Kansas Reflector

Published

on

Kansas Legislature opens 2024 session amid tax policy salvo, dash of winter weather – Kansas Reflector


TOPEKA — The House and Senate launched the 2024 legislative session Monday amid anticipated criticism of Gov. Laura Kelly’s attempt at bipartisanship on tax reform and substantial enthusiasm for a nonbinding resolution delving into Middle East foreign policy.

While the threat of six inches of snow by Tuesday led the Democratic governor to release early executive branch employees and close state office buildings in Shawnee County, both chambers passed the measure condemning Hamas’ Oct. 7 attack on Israel. Hours earlier, GOP lawmakers gave a chilly reception to Kelly’s comprehensive tax reform plan endorsed by Republicans, Democrats and an independent legislator.

House Speaker Dan Hawkins, a Wichita Republican, said snowfall meant the House would convene Tuesday “proforma,” which meant members didn’t have to be present. He said one House committee, a panel devoted to water policy, would meet Tuesday. A collection of other committees were postponed. The Senate was expected to have a more robust committee schedule despite the storm.

Hawkins said the 2024 Legislature would engage during the next few months in rigorous debate on tax reform, especially a proposal to establish a single, flat individual income tax rate. He said lawmakers also would work to find solutions to the Kansas child care crisis. He didn’t expect the Legislature to dive deeply into private or home school vouchers, abortion restrictions or Medicaid expansion.

Advertisement

“Taxes, taxes, taxes — that’s my top priority in this session and that’s what I’m working towards,” Hawkins said.

What about abortion rights?

“I doubt it,” he said. “We are going to do some ‘life’ issues, but not abortion issues.”

The House and Senate convened at 2 p.m. Monday for what could be a 90-day session in an election year with the entire House and Senate up for grabs.

Senate Minority Leader Dinah Sykes, D-Lenexa, said she would advocate on behalf of state funding to K-12 public education, including additional spending on special education programs.

Advertisement

“I want to see some improvement there and continue to protect our public schools,” Sykes said.

Senate Minority Leader Dinah Sykes, D-Lenexa, said she would work for passage of K-12 public education funding and key on a proposed increase in state aid for special education programs. (Rachel Mipro/Kansas Reflector)

Sykes said she anticipated Republicans would soon introduce a bill creating a flat individual income tax rate in Kansas. In 2023, the GOP sought a 5.15% rate for all Kansans, but it was vetoed by the governor. Senate President Ty Masterson, R-Andover, vowed to bring the flat tax back.

“I think it will probably come up fairly quickly, the flat tax and hopefully we are able to sustain a veto on that again,” Sykes said.

Sen. Rob Olson, R-Olathe, said he would concentrate on advancing the $1 billion, three-year tax reform bill made public by the governor. It contained property, sales and income tax reforms.

“If this were my decision, this is the kind of tax cut I would make for every Kansan,” he said.

Advertisement

Sen. David Haley, D-Kansas City, said the opening of the Senate was a departure from the tradition of dealing primarily with ceremonial activities. The Hamas resolution altered that dynamic, he said.

“It’s quite an interesting way to start a session,” Haley said. “Normally, the opening day is an opportunity to rekindle our ties and to start our agenda, but it was the choice of leadership today to begin with a spirited discussion about an issue that is of national concern, but doesn’t really necessarily affect the state.”

Meanwhile, the Democratic Legislative Campaign Committee announced their intention to break the Republican supermajority in the House and Senate during the 2024 elections.

“It’s essential we elect Democrats to the Kansas Legislature to return veto power to Gov. Kelly as an important check on Republican power,” said Heather Williams, president of the national group. “The 2024 legislative session will put on sharp display how out of step Republicans are with Kansas families, as Democrats combat GOP attacks on fundamental rights like abortion access.”

Kelly is scheduled to deliver the annual State of the State speech at 6:30 p.m. Wednesday to a joint session of the Legislature inside the House chamber.

Advertisement

Meanwhile, Kansas Supreme Court Chief Justice Marla Luckert will give the 2024 State of the Kansas Judiciary address to the Legislature at 1:30 p.m. Wednesday also in the House chamber.



Source link

Kansas

Kansas woman found with over 100,000 fentanyl pills, sentenced to 20 years in prison

Published

on

Kansas woman found with over 100,000 fentanyl pills, sentenced to 20 years in prison


WICHITA, Kan. (KWCH) – A Kansas woman has been sentenced to 20 years in federal prison after being caught with a large amount of fentanyl pills.

According to court documents, 51-year-old Mana Elena Reyes from Wichita pleaded guilty to one count of possession with intent to distribute fentanyl.

Reyes had multiple discussions between April and May of 2023 with a person she was unaware was an undercover officer with the Sedgwick County Sheriff’s Office. During the conversations, she discussed purchasing and selling methamphetamine and fentanyl.

The Kansas Highway Patrol conducted a traffic stop and searched Reyes’ vehicle, where they found approximately 115,000 fentanyl pills and over 4,000 grams of methamphetamine. They also found heroin, fentanyl powder and cocaine.

Advertisement



Source link

Continue Reading

Kansas

Kansas City Chiefs heiress Gracie Hunt gets engaged to ex-NFL player’s son

Published

on

Kansas City Chiefs heiress Gracie Hunt gets engaged to ex-NFL player’s son


Gracie Hunt is engaged to Derek Green, the youngest son of former Kansas City Chiefs quarterback Trent Green.

The NFL heiress, who is the daughter of billionaire Chiefs CEO Clark Hunt, announced the exciting news in a sweet Instagram post on Saturday.

“It was always you,” Gracie, 27, wrote alongside a series of pics from Derek’s proposal.

Gracie Hunt and Derek Green (pictured here together in February) are engaged after a year of dating. graciehunt/instagram
The NFL heiress (seen here with her now-fiancé last month) announced the engagement news in an Instagram post on Saturday. graciehunt/instagram

The photos showed Derek, 26, down on one knee as he popped the question to his now-fiancée beneath an outdoor altar decorated with white flowers.

Advertisement

Another featured the happy couple kissing, while a third showed the NFL heiress’s emerald-cut engagement ring, which was encrusted with white diamonds and a single emerald stone along the band.

The carousel of photos also included some of the pair’s family and friends filming the proposal and clapping in celebration after Gracie said “yes.”

Gracie’s mom, Tavia, took to her own Instagram over the weekend to celebrate her daughter and future son-in-law’s engagement.

The photos showed Derek (pictured here with Gracie last month) down on one knee as he popped the question beneath an outdoor altar. graciehunt/instagram
Gracie is the daughter of billionaire Chiefs CEO Clark Hunt (seen here with his wife, Tavia, and Gracie and Derek last month). graciehunt/instagram

“We’re getting another SON!!” the 54-year-old wrote on her Instagram Stories. “Gracie Green has a nice ring to it!!”

Tavia and Clark share daughters Gracie and Ava, 21, as well as a 23-year-old son, Knobel.

Advertisement

“Forever looks so beautiful on these two,” Gracie’s mom continued. “God brought these two together in such a special way, and our hearts are overflowing with joy … We are so grateful for His hand in their lives and so excited for all that lies ahead.”

Gracie and Derek (pictured here together in February 2026) started dating in April 2025. graciehunt/instagram
Gracie (seen here with her parents and Derek in February) took to social media in July 2025 to say that she and Derek have been “friends since 2017.” graciehunt/instagram

Gracie first teased her and Derek’s relationship in a since-deleted Instagram video of them together at Arrowhead Stadium in Kansas City, Missouri, in April 2025.

“After meeting 7.5 years ago in this place… all along there was some invisible string,” she captioned the clip while quoting Taylor Swift’s song “Invisible String” from the pop star’s album “Folklore.”

Swift and Kansas City Chiefs tight end Travis Kelce, both 36, are also engaged. Kelce asked the “Fate of Ophelia” hitmaker to marry him in August 2025.

Gracie, meanwhile, returned to social media in July of last year to reveal that she and her now-fiancé have been “friends since 2017.”

Advertisement
“After meeting 7.5 years ago in this place… all along there was some invisible string,” Gracie (pictured here with Derek in February) teased in an Instagram post last year. graciehunt/instagram
Gracie also included several nods to Taylor Swift (seen here together during a Chiefs game in December 2023) in her social media posts about Derek. Gracie Hunt/Instagram

“I’m dating my best friend,” Gracie wrote in the Instagram post with Swift’s “You Belong With Me” playing in the background.

Before dating Derek, Gracie was with real estate broker Cody Keith.

Keith wasn’t seen at the NFL heiress’s 26th birthday party in March 2025, nor in attendance for the Chiefs’ 2025 Super Bowl loss against the Philadelphia Eagles that February.





Source link

Advertisement
Continue Reading

Kansas

Kansas City gets first look at 2026 Parade of Hearts sculptures ahead of summer display

Published

on

Kansas City gets first look at 2026 Parade of Hearts sculptures ahead of summer display


Kansas City gets first look at 2026 Parade of Hearts sculptures ahead of summer display

Advertisement

MULTIPLE TIMES AND FIND NEW BOOTHS AND ARTISTS. THE METRO IS GETTING ITS FIRST LOOK AT ALL THE HEARTS THAT WILL BE FEATURED IN THIS YEAR’S PARADE OF HEARTS. THERE WAS A SNEAK PEEK EVENT AT THE OVERLAND PARK CONVENTION CENTER YESTERDAY. THE PARADE OF HEARTS SHOWCASES KANSAS CITY’S CREATIVITY AND HIGHLIGHTS LOCAL ART. EACH SCULPTURE WAS DESIGNED BY A LOCAL ARTIST AND WILL BE ON DISPLAY AROUND THE METRO. MY FAVORITE MOMENT IS JUST SEEING THE SMILES ON EVERYONE’S FACES AND THOSE PROUD MOMENTS WHERE YOU HAVE PARENTS SITTING THERE WATCHING THEIR KIDS. WE HAVE ARTISTS AS YOUNG AS NINE YEARS OLD, SEVEN YEARS OLD, AND THEN UP UNTIL CLOSE TO 80. SO WE HAVE ALL AGES REPRESENTED, SO WE SEE THEIR FAMILIES SUPPORTING THEM, AND IT’S JUST A GREAT MOMENT. AND SOON THE ART, THE HEARTS WILL GO TO THEIR DESIGNATED LOCATIONS ACROSS THE AREA. THEY’LL BE THERE ALL SUMMER LONG BEFORE BEING AUCTIONED OFF. THE PROCEEDS WILL GO TOWARDS SUPPORTI

Advertisement

Kansas City gets first look at 2026 Parade of Hearts sculptures ahead of summer display

Updated: 6:26 PM CDT Apr 5, 2026

Editorial Standards

Advertisement

Kansas City is getting an early look at one of its most recognizable public art displays.A preview event for the 2026 Parade of Hearts was held Saturday at the Overland Park Convention Center, giving attendees a first glimpse at this year’s heart sculptures.The annual event highlights local artists and showcases creativity across the metro, with each sculpture designed by a Kansas City-area artist.In the coming weeks, the hearts will be placed at locations throughout the region, where they will remain on display throughout the summer.Organizers say the installations are meant to encourage people to explore the metro while supporting the arts.At the end of the season, the sculptures will be auctioned off, with proceeds going toward supporting local artists.A full map of heart locations will be available online once installations are complete.

Kansas City is getting an early look at one of its most recognizable public art displays.

Advertisement

A preview event for the 2026 Parade of Hearts was held Saturday at the Overland Park Convention Center, giving attendees a first glimpse at this year’s heart sculptures.

The annual event highlights local artists and showcases creativity across the metro, with each sculpture designed by a Kansas City-area artist.

In the coming weeks, the hearts will be placed at locations throughout the region, where they will remain on display throughout the summer.

Advertisement

Organizers say the installations are meant to encourage people to explore the metro while supporting the arts.

At the end of the season, the sculptures will be auctioned off, with proceeds going toward supporting local artists.

A full map of heart locations will be available online once installations are complete.

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();
}
}

Advertisement

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’);
});

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’);
}
}

Advertisement

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 };

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’);
});
}
}

Advertisement

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’);

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’);
}

Advertisement

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);
}

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);
}
}

Advertisement

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;

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

`;
}

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’);
});

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’);
});

Advertisement

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 };

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;

Advertisement

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’);

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 || ”;

Advertisement

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);
}

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);
}

Advertisement

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;

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

Advertisement

Loading more articles…



Source link

Continue Reading

Trending