Albatross
12-03-2003, 04:31 PM
I am trying to get a pop-up window to open when a page is loaded. This pop-up window is not intended as an advertisement, just to inform people (my intended audience has browsers that support JavaScript--a mass email and posts on message boards that pertain to my site's topic took care of that) that I am about to start re-designing the site, and that it will be incorporating CSS and JavaScript in XHTML files.
Here's the code I am using:
<body onload=javascript:window.open('important_announcement.html','important_announcement' 'height=300, width=300, scrollbars=yes')"> link="#ffcc00" alink="#ffcc00" vlink="#ffcc00">
To the best of my knowledge, the LABEL can be customized to say anything I want it to. Is this correct? (just checking--my knowledge of JavaScript is not as great as I want it to be)
Also, when I load the page in the browser (it is IE 5.5), I get this instead of the popup:
link="#ffcc00" alink="#ffcc00" vlink="#ffcc00">
the first link is #ffcc00, but the rest are the standard issue.
What is wrong here, and what can I do to correct it?
Here's the code I am using:
<body onload=javascript:window.open('important_announcement.html','important_announcement' 'height=300, width=300, scrollbars=yes')"> link="#ffcc00" alink="#ffcc00" vlink="#ffcc00">
To the best of my knowledge, the LABEL can be customized to say anything I want it to. Is this correct? (just checking--my knowledge of JavaScript is not as great as I want it to be)
Also, when I load the page in the browser (it is IE 5.5), I get this instead of the popup:
link="#ffcc00" alink="#ffcc00" vlink="#ffcc00">
the first link is #ffcc00, but the rest are the standard issue.
What is wrong here, and what can I do to correct it?