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

MOBY GETS IN A RIGHT STATE!

The dance sensation aims to slay the States...

Moby has unveiled details of a comprehensive US tour for the autumn, supported by Hybrid.

A spokesperson for Hybrid told nme.com that the duo had been approached at the personal recommendation of Moby himself. He said: “They’re well chuffed. It will be a good opportunity for them to work on their new live show!”

Advertisement

Moby, who nme.com revealed is to play a handful of UK shows in November at the Manchester Apollo (November 12-13) and London Wembley Arena (18), will call at: Denver Red Rocks Amphitheatre (September 8) Salt Lake City Kingsbury Hall (9) Boise Doubletree Ballroom (10) Vancouver Plaza Of Nations (12) Seattle Paramount Theatre (13) Portland Art Museum (14) San Francisco Warfield (16-17) Santa Barbara Arlington Theatre (18) San Diego Cox Arena (23) Los Angeles Greek Theatre (24) Phoenix Web Theatre (26) Albuquerque Sunshine Theatre (27) Houston Ariel Theatre (29) Dallas Bronco Bowl (30) Austin Music Hall (October 1) St. Louis American Center (3) Kansas Memorial Hall (4) Minneapolis Roy Wilkins Auditorium (5) Chicago Aragon Ballroom (6) Milwaukee Eagles Ballroom (8) Cleveland Agora Theatre (10) Detroit State Theatre (12) Rochester Institute (13) Toronto Warehouse (14) Ithaca Cornell (15) Montreal Metropolis (17) Boston TBA (19-20) New York Hammerstein Ballroom (21) Norfolk The Norva (25) Atlanta, Tabernacle (27) Philadelphia Electric Factory (November 3)

Moby will also play this weekend’s V2000 festival at Hylands Park, Chelmsford and Weston Park, Stafford (August 19-20). His new single, ‘Honey’, which features vocals from Kelis, will be released on October 16 through Mute.

You May Also Like

Advertisement

TRENDING

Advertisement

More Stories