New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Changing the bgcolor of a Javascript window?


Post Reply New Thread Subscribe

 
Thread Tools
Morgan19

 
Member Since: Apr 08, 2004
Posts: 129
Morgan19 is on a distinguished road

Morgan19 is offline
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
QUOTE Thanks

Post Reply New Thread Subscribe


« How to make an application full screen for Mac OS X that are called through html? | SSL on one directory »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Help with JavaScript and PhoneBook widget garymm Web Design and Hosting 0 06-09-2005 03:07 AM
Javascript and Safari (earlier versions) noodles Web Design and Hosting 0 02-17-2005 02:46 PM
Javascript and Frames problem in Safari HarrySpier Web Design and Hosting 3 11-09-2004 04:47 PM
no window in safari idea3 Other Hardware and Peripherals 6 04-30-2004 09:59 PM
Printing finder window in panther... michevans OS X - Operating System 4 12-21-2003 01:17 AM

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

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

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?