"onclick" swap image in a different cell

  • kingjeremy02
  • Newbie
  • Newbie
  • User avatar
  • Posts: 9

Post 3+ Months Ago


I'm setting up a photo gallery page with 15 thumbnail images in one table cell and want to have an "onclick" rollover function that swaps a full size version in another cell.

So for example, for thumbnails I have normal state image "studio01T"
a mouse over image (highlight) "studio01Th"

and a full size image to appear in the other table cell "studio01"

But how do I set this up?

The main cell dimensions (where the full size photo appears) is 500 x 500 - so I thought of putting a transparent gif that size in the cell to start with. I've made sure that the dimensions of any of the full size images have at least a length OR width equal to 500 pixels (hopefully to avoid strange table resizing).

thanks for helping,
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Posts: 659
  • Loc: USA

Post 3+ Months Ago

My guess would be java. I have something like that on a site I have built with 8 images, but you have to click it and then it changes the image. It was there when I inherited the website :)

Does it need to be a roll over or can it be a click?
  • amar
  • Born
  • Born
  • amar
  • Posts: 1

Post 3+ Months Ago

How about try to see if this may be what you are looking for.

http://www.dynamicdrive.com/style/cssli ... e-gallery/

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 87 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.