Hyperlink Placement

  • Thread starter Thread starter CVS
  • Start date Start date
C

CVS

I saw a web site the other day that had a larger primary
photo flanked by
several thumbnail photos. Once a thumbnail photo was
clicked it took the
place of the primary picture. I thought it was pretty
cool and wanted to do
that to my web page.... but I do not know how. Any
suggestions? Thanks.
 
You can do it with CSS and 'onmouseclick.' I have done it experimentally,
and it worked. I have posted my experimental page at
http://www.dipika.org/~exp/remoteswap.htm

It's not the most elegant layout in the world, and the pictures are all the
same size, but you can look at the source code and see how I did it.

I hope this helps, and I hope it answers your question.

Wally S
 
Oops! Sorry. It should be 'onclick' not 'onmouseclick.' And another thing.
On my page, the photos are all the same size because I did not take the time
to make smaller versions. If you are going to use small and large photos,
you will have to preload all your large photos so the reader does not have
to wait for the large photo to downlod when he clicks. If you do a web
search for 'preload images' you will find the script to do that, but all
this preloading will make your page load slower, so it would be best not to
use too many.

Wally S
 
Back
Top