Author: Minghui Yu Date: 5/29/04 The enhanced version is to add a hidden layer in page and when there is no thumbshot availablle, the hidden layer becomes visible and tell visitors why no thumbshots. It works well in IE but does not display very well (the hidden layer overlaps with image) in Mozilla. Image: Previews by Thumbshots Hidden Layer:
Why?
(Note: the ID of this DIV layer must be dynamic and not repeated, say ID=www.site1.com ID=www.site2.com, etc. So the ideal way is to have the URL as the ID. Otherwise the hidden layer will not display in IE) CSS: .unavailable { margin: 1px; padding: 1px; width: 120px; position: absolute; visibility: hidden; z-index: 1; font-family: Arial, Helvetica, sans-serif; font-size: 10px; } Javascript: