[PHP] A JS problem

2003-03-01 Thread Dade Register
I know this is a php forum. Please don't be upset with me, but I have a JS problem which nobody I know can seem to figure out. Here goes: script LANGUAGE=JavaScript var w1 = 1000; var h1 = 672; if (w1 = screen.width){ if (h1 = screen.height){ document.write(a

RE: [PHP] A JS problem

2003-03-01 Thread John W. Holmes
document.write(a href=/pics.php?view=popupimage=2003-01-January/image1.jpg onclick=NewWindow(this.href,'popup','1000','672','no');return false;img src=/pics/2003-01-January/image1-thumb.jpg border=0 alt=Image 1 of 64/anbsp;)} Shouldn't you be escaping some quotes here? The string your