Click to See Complete Forum and Search --> : My javascript isn't working


stargal98
02-18-2003, 02:37 PM
www.24brownstreet.com
I can't figure out what is wrong with my code. It was working fine on Friday...HELP!

gil davis
02-18-2003, 02:55 PM
JavaScript Error: illegal character ' ' ('\40') in window
name Snowman Special

function popup()
{
var url ="SiteImages/snowpop.jpg";
var name = "Snowman Special";
var windowproperties = "width=516, height=300, location=no, toolbar=no,menubar=no,scrollbars=no, resizeable=no,left=150,top=150";
window.open(url, name, windowproperties);
}
You cannot have spaces in identifier names (var name = "Snowman Special").

stargal98
02-18-2003, 03:04 PM
It's also working in Netscape 7. but not IE... Any reason why???