CodeBodger's
Home


Overview

Examples

Instructions

Script Maker

Sample
Single-Image
Page


Code
Discussion


Better Thumbnail Links
Overview

Ever wanted a better way of linking to the full-sized image from a thumbnail?
Ever wanted the image presented better, centered on a background, etc, instead of plonked in the top-left corner of a blank page?

Easy! Just make a simple page for each image... That can be a lot of documents to keep track of, a lot of bytes to store and download. And if you decide to change the layout? Nightmare!

Presented here is a small script that solves the problem. It is safe with all the main browsers, and the minor ones I have tested. It is safe with non-scripting browsers and easily adapted to your own choice of style - no scripting knowledge required! Ten examples are given of how the script reacts in different combinations of frames. Try them out, you might like the results!