Changing the bgcolor of a Javascript window?

Joined
Apr 8, 2004
Messages
129
Reaction score
0
Points
16
I'd like to change the color of a Javascript window that pops up when you click on a link, but for the life of me can't figure out how to code it. This is what I've got in the head:

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=820,height=350,left = 240,top = 358');");
}
// End -->
</script>

I want the background of that window to be #FFFFCC, so what would I need to add to have it display that color when the window comes up?

m19
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top