|
I am using Dreamweaver 8 and I wanted to show visitors, a porfolio of my website designs. So I want visitor to click on a small image picture and a larger image appears the left of the small image. I was wondering if I should use an iframe to do this or is there a simpler way to do this.
I tried to use the iframe approach, but when I click on the small picture, no large picture appears. I don't know how to set up the iframe properties such as the Layer ID = iFrame or z-index=0. I have attached the code below: -
<div id="iFrame1" style="position:absolute alt="" align="left" class="left"; z-index:0">
<iframe name="iFrame1" width=197 height=152 src="iframe.html" scrolling="no" frameborder="0"></iframe>
</div>
<div id="image1" style="position:absolute; overflow:hidden; left:643px; top:283px; width:60px; height:48px; z-index:1"><a href="iframe.html#bookmark1" target="iFrame1"><img src="../images/Pic Images/DSCF2719-small-framed.jpg" border=0 width=60 height=48></a></div>
<div id="image2" style="position:absolute; overflow:hidden; left:643px; top:336px; width:60px; height:48px; z-index:2"><a href="iframe.html#bookmark2" target="iFrame1"><img src="../images/Pic Images/BE-small-framed.jpg" border=0 width=60 height=48></a></div>
<div id="image3" style="position:absolute; overflow:hidden; left:643px; top:387px; width:60px; height:48px; z-index:3"><a href="iframe.html#bookmark3" target="iFrame1"><img src="../images/Pic Images/WBL-small-framed.jpg" border=0 width=60 height=48></a></div>
<br>
Could you please help me?
Thank you in advance.
wire_jp
Last edited by wire_jp; 08-08-2006 at 06:37 AM..
|