Forum Moderators: open
<TR>
<td align = "center" bgcolor="white" width="1%" height="168"><font face="Verdana, Arial, Helvetica" size="2">
<A HREF= "#" onClick="window.open('photos/SandyR_Geodesign.jpg','Photo0','toolbar=no, width=420, height=331, left=100, top=100, screenX=200, screenY=200, status=no, scrollbars=yes, resize=yes');return false">
<IMG src=photos/SandyR_Geodesign.jpg border="1" width = "200" hight = "200"></a></font></td>
<td bgcolor="white" width="20%" height="168"><font face="Verdana, Arial, Helvetica" size="2" width = "20%">
Geometric Design By Sandy R</a></font></td>
td align = "center" bgcolor="white" width="34%" height="168"><font face="Verdana, Arial, Helvetica" size="2">
<A HREF= "#" onClick="window.open('photos/JoyceW_Ornament.jpg','Photo1','toolbar=no, width=600, height=400, left=100, top=100, screenX=100, screenY=100, status=no, scrollbars=yes, resize=yes');return false">
<IMG src=photos/JoyceW_Ornament.jpg border="1" width = "109" hight = "100" height="162"></a></font></td>
<td bgcolor="white" width="77%" height="168"><font face="Verdana, Arial, Helvetica" size="2" width = "20%">
Ornament By Joyce W </a></font></td>
</TR>
The code repeats as needed for additional photos and this is where the problem is. If you scroll down to the additional photos the clicking the popup returns you to the top so I need some kind of anchor to hold the scroll bars.
onclick = "window.open(....);return false;" Can I suggest that you support JS-disabled browsers by a quick swap around?
<!-- currently -->
<a href="#" onclick="window.open('image_url.jpg','photo1','_specs...');return false;"><!-- support non-JS browsers -->
<a href="image_url.jpg" onclick="window.open(this.href,'photo1','_specs...');return false;">
I tried it out on my old Geocities account, and it confirms what you say. Yahoo must be doing something - quite what, I don't know.
One solution that seems to work is to replace
[color=brown]"#"[/color] in the href [color=brown]"javascript: void(0)"[/color] This doesn't fit in with the non-JS support suggestion, but that seems to have been 'broken' by Yahoo (naughty).