I see what you mean. The larger images could be linked directly, but this causes layout problems in FF, probably others, and in IE it makes the gallery's operation less smooth. So even though these extra links could be added via IE conditional comments, and thus not require javascript, I wouldn't recommend it.
This seemed to work out well, but does require javascript (but even without javascript, the gallery will still work as it does now in both IE and FF) -
Add this style:
Code:
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
cursor: pointer;
}
Add this IE conditional script in the head of the page:
Code:
<!--[if IE]>
<script type="text/javascript">
window.ie = true;
</script>
<![endif]-->
Add to each larger image this sort of onclick event:
Code:
<img onclick="if(!window.ie)return true;window.location = 'acceptable_answers.html';return false;" src="images/boxa.gif" />
Use the same URL (red in the above example) as is used for each link with the thumbnail class.
Bookmarks