RE: [PHP] A JS problem

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

[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: var w1 = "1000"; var h1 = "672"; if (w1 <= screen.width){ if (h1 <= screen.height){ document.write("

2 matches