Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   Web Design and Hosting (http://www.mac-forums.com/forums/web-design-hosting/)
-   -   Changing the bgcolor of a Javascript window? (http://www.mac-forums.com/forums/web-design-hosting/22833-changing-bgcolor-javascript-window.html)

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:

<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,men ubar=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


All times are GMT -4. The time now is 05:55 AM.

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