`; // target the cover menu item const target = document.querySelector('#menu-header-uk-1 .menu-item-2911415'); // position popover to the left if the target is on the right half of the screen if (target.getBoundingClientRect().right > document.documentElement.clientWidth / 2) { popover.classList.add('left'); } target.appendChild(popover); // used to check if the article info let articleTitle = ''; // fetch info once, then show popover on hover target.addEventListener('mouseover', async () => { if (!articleTitle) { const [coverRes, articleRes] = await Promise.all([ fetch('https://www.nme.com/wp-json/wp/v2/posts?categories=268320&per_page=1&_fields[]=thumbnail_url&_fields[]=featured_media'), fetch('https://www.nme.com/wp-json/wp/v2/posts?categories=268101&per_page=1&_fields[]=title&_fields[]=link'), ]); const [cover, article] = await Promise.all([coverRes.json(), articleRes.json()]); articleTitle = article[0].title.rendered; document.querySelector('#the-cover-article-title').textContent = articleTitle; document.querySelector('#the-cover-article-title').href = article[0].link; document.querySelector('#the-cover-image-link').href = article[0].link; document.querySelector('#the-cover-read-now').href = article[0].link; document.querySelectorAll('#the-cover-image').forEach((img) => { // add size modifier to the cover image url img.src = cover[0].thumbnail_url.replace(/(\.[\w\d_-]+)$/i, '-400x500$1'); }); // document.querySelector('#the-cover-image-link').href = article[0].link; } setTimeout(() => popover.classList.add('active'), 0); }); // hide popover on mouse leave target.addEventListener('mouseleave', () => { setTimeout(() => popover.classList.remove('active'), 0); }); });

Eurovision

More countries call for voting audit into Israel’s controversial Eurovision results

The country's entry, Yuval Raphael, came in second at last weekend's final

Eurovision star Tommy Cash announces 2025 European tour, including London show

He'll be taking his quirky live shows across venues in Europe this autumn, including a headline show in London

Spanish PM calls for Israel to be banned at Eurovision: “What we cannot allow is double standards”

Pedro Sánchez pointed to Russia's ban from the competition following its invasion of Ukraine as an example

United Kingdom entry Remember Monday share emotional statement after disappointing Eurovision score

The group received the dreaded "nul points" from the public vote during last night's (May 17) grand final

Eurovision crew member hit with paint as two protesters attempted to disrupt Israeli performance

A man and women were escorted from the venue and handed over to the police

Watch Käärijä and Baby Lasagna duel at Eurovision 2025

The two former contestants performed their viral hits in a mash-up dubbed '#eurodab'

Austria’s JJ wins Eurovision Song Contest 2025

The singer-songwriter beat out Israel's Yuval Raphael, who finished in second place with 357 points

Israel qualifies for Eurovision final after pro-Palestinian dress rehearsal protests 

Ireland, Australia, Czechia and more were eliminated in last night’s semi-finals

Eurovision: how many times has the UK won the song contest?

It's been over 27 years since the UK's last win
Advertisement