Xtazy Posted August 30, 2007 Share Posted August 30, 2007 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 More sharing options...
Synook Posted August 30, 2007 Share Posted August 30, 2007 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 More sharing options...
topher100 Posted August 30, 2007 Share Posted August 30, 2007 for a quick cheat without coding anything yourself use this ready made flash program.. its free to download and simple to usehttp://www.airtightinteractive.com/simpleviewer/ Link to comment Share on other sites More sharing options...
Synook Posted August 30, 2007 Share Posted August 30, 2007 The Javascript solution is faster, but I suppose the flash one is... well... flashier Link to comment Share on other sites More sharing options...
Xtazy Posted August 31, 2007 Author Share Posted August 31, 2007 Yep, I used Simple Viewr and it worked.Thank you so much guys!Cya! Link to comment Share on other sites More sharing options...
jlhaslip Posted September 3, 2007 Share Posted September 3, 2007 This can be done with CSS.bonrouge.com and cssplay.co.uk Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.