Hi @Urban8_Staff! Well technically this would be possible like
var newWindow = window.open('frame.html', 'frame');
var style = document.createElement('style');
style.textContent = 'body {background-image: ' +
'url("http://urban-radio.co.uk/wp-content/' +
'themes/neongame/images/banner.jpg")} ' +
'/* Add further styles here */';
// Workaround to wait for the new window to be loaded
setTimeout(function() {
newWindow.document.head.appendChild(style);
}, 1000);
… although this is rather messy, and it only works if the source for the new window is on the same domain. I think your best bet would be to write a complete dedicated page where you embed that player in an iframe or something, and then open this page in a new window.
Ah sorry I assumed this was (partly) a JavaScript question since you’re using JS to open that new window. ^^ Anyway, if you’re writing a dedicated popup page as I suggested above you don’t need any additional JS.