Jump to content

photo gallery


Xtazy

Recommended Posts

Hi guys!I want to make a gallery on my website, but I don't want just to drop some images there, a want something like this: a panel with the thumbnails pictures on the left side, and when you click on one of them, on the right side the picture will open in big size...how can i make something like this? i hope I posted this message in the right category...thank you in advancecheers!

Link to comment
Share on other sites

This might be a JavaScript question... you could have the thumbnails trigger a JS event...

<script type="text/javascript">function show_image(src) {	document.getElementById('big_image').src = src;}</script><!-- Left side (leave styling up to you) --><img src="thumbnail1.jpg" onclick="show_image('bigpic1.jpg')" /><img src="thumbnail2.jpg" onclick="show_image('bigpic2.jpg')" /><!-- Etc... --><!-- Right side --><img src="default_img.jpg" id="big_image" />

Link to comment
Share on other sites

The Javascript solution is faster, but I suppose the flash one is... well... flashier :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...