The Cover
News
Music
Film
TV
Gaming
Festivals
Gig Guide
Radar
Search
Trending
NME Magazine
Hanumankind
Ozzy Osbourne
The Fantastic Four: First Steps
Untamed
Tomorrowland
Superman
Music
News
Features
Reviews
Interviews
Radar
Film
News
Features
Reviews
Interviews
TV
News
Features
Interviews
Reviews
Recaps
Gaming
News
Features
Reviews
Guides
The Cover
News
Music
Film
TV
Gaming
Festivals
Gig Guide
Radar
Search
Trending
NME Magazine
Hanumankind
Ozzy Osbourne
The Fantastic Four: First Steps
Untamed
Tomorrowland
Superman
Music
News
Features
Reviews
Interviews
Radar
Film
News
Features
Reviews
Interviews
TV
News
Features
Interviews
Reviews
Recaps
Gaming
News
Features
Reviews
Guides
`; // 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 = ''; function decodeHtmlEntities(str) { const txt = document.createElement('textarea'); txt.innerHTML = str; return txt.value; } // 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 = decodeHtmlEntities(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); }); });
Pop
Jess Glynne slams White House’s use of viral Jet2 Holidays trend for ICE deportations video
"This honestly makes me sick"
‘Bob’s Burgers’ cast cover Chappell Roan’s ‘Pink Pony Club’
Actors including H. Jon Benjamin, John Roberts, and Kristen Schaal all sing in the voice of their characters
Doja Cat pokes fun at Sydney Sweeney’s controversial American Eagle campaign
The ad has come under fire for racial undertones
Hayley Williams’ surprise album ‘Ego’ has been removed from her website
"Thank you for listening"
Check out Del Water Gap’s atmospheric new single ‘How To Live’
It comes ahead of his slot at Reading & Leeds next month
Coldplay’s viral “kiss cam” captures Lionel Messi and his wife in Florida
Chris Martin serenaded the couple as they were shown standing in the audience
Madonna biopic still happening, says star Julia Garner
The 'Fantastic Four' star will play the singer in a Netflix miniseries
Lily Allen says “bullying” ex once accused her of having poor hygiene: “I don’t think it was real”
"It was done on purpose to make me feel self-conscious"
Fashion designer refuses to work with Rosalía due to her silence on Palestine
“Silence is complicity, and even more so when you have a big microphone where millions of people listen to you when you sing”
Beyoncé’s ‘Cowboy Carter’ tour becomes the highest-grossing country tour ever
She also becomes the first US act in history to have two separate tours gross over $400million
1
2
3
...
1,701
Page 1 of 1,701
Advertisement