Hi all, having a few problems with a simple JS line! I've added a behaviour to some images, on separate pages , such that when the image is clicked the whole window closes. I've done this through the dreaded DW. Below are two lines of code from the separate images, of which I can see no difference JS wise:
Code:
<td width="800" height="533"><a href="javascript:;" onClick="MM_callJS('close.window()')"><img src="Images/People/Large/Bob.jpg" name="image1" width="800" height="533" border="0" id="image1"></a></td>
Code:
<td width="800" height="533"><a href="javascript:;" onClick="MM_callJS('close.window()')"><img src="Images/People/Large/Joyce.jpg" width="800" height="533" border="0" align="absmiddle"></a></td>
The first one works, the second doesnt! It can be viewed in action at http://www.17minutes.f2s.com/People.htm. Hover over the first thumbnail and then click it and a larger image in a new page appears. Click the image and the window closes. Try it with any other thumbnail and see what happens.
Any ideas please?
Thanks, Lol
|