Mac Forums

Mac Forums (
-   Web Design and Hosting (
-   -   Changing the bgcolor of a Javascript window? (

Morgan19 08-17-2005 12:17 PM

Changing the bgcolor of a Javascript window?
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:

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

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?


All times are GMT -4. The time now is 07:38 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.