|
From: ditribal on 9 Feb 2006 09:51 i am working on a website now and would like to have thumbnails of images along the side of a black space where, when you click or rollover a thumbnail, a larger version shows up. any advice on how to do this?
From: mattw on 9 Feb 2006 11:08 Javascript is what you want. You'll need a javascript function that looks something like: function fn_ShowLarge(large_image) { document.getElementById('large_img').src = large_image; } Then your thumbnail image would have an onmouseover event as this: <img src="myThumb_1.jpg" onmouseover="fn_ShowLarge('myLargeImg_1')" /> Lastly, you'll need to assign an id to the <img> tag that will hold the large image. <img src="" id="large_img" /> Give it a shot. Ask questions if you get stuck.
From: .: Nadia :. *TMM* on 9 Feb 2006 22:16 Look at the freebie behaviour at: http://dreamweaverfever.com/grow/ half way down the page - look for "open picture window fever"... it will do what you want. Commercial extensions: http://www.kaosweaver.com/extensions/details.php?id=62&cid=7 http://www.valleywebdesigns.com/vwd_jspw3.asp -- Nadia Team MM Volunteer for Dreamweaver -------------------------------------------- http://www.csstemplates.com.au Templates|CSS Templates| Dropdown Menu Designs | SEO Articles |Tutorials http://www.DreamweaverResources.com --------------------------------------------- Search this forum: http://tinyurl.com/2rfa2 --------------------------------------------- "ditribal" <webforumsuser(a)macromedia.com> wrote in message news:dsfku3$t5p$1(a)forums.macromedia.com... >i am working on a website now and would like to have thumbnails of images >along > the side of a black space where, when you click or rollover a thumbnail, a > larger version shows up. any advice on how to do this? >
|
Pages: 1 Prev: automatic fit size window Next: Studio 8 - Switching serial numbers |