kalew
08-17-2006, 04:49 PM
Dynamic Image Selector
http://www.dynamicdrive.com/dynamicindex4/imageselector.htm
I would like to have the Selector Box within a <div> on the right side of my page and the image that changes on the left. Can someone please tell me what part of this script I need to move in order to accomplish this?
Currently, I moved this part to the <div>. Am I correct?
<form name="dynamicselector">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="250">
<tr>
<td width="35%" valign="top" align="left">
<select name="dynamicselector2" size="4" onChange="generateimage(this.options[this.selectedIndex].value)">
<option value="http://image1.jpg" selected>Exterior</option>
<option value="http://image2.jpg">Master Bedroom</option>
<option value="http://image3.jpg">Master Bath</option>
<option value="http://image4jpg">Living Room</option>
</select>
</td>
<td width="100%" valign="top" align="left"><ilayer id="dynamic1" width=100% height=178><layer id="dynamic2" width=100% height=178><div id="dynamic3"></div></layer></ilayer></td>
</tr>
</table>
</form>
http://www.dynamicdrive.com/dynamicindex4/imageselector.htm
I would like to have the Selector Box within a <div> on the right side of my page and the image that changes on the left. Can someone please tell me what part of this script I need to move in order to accomplish this?
Currently, I moved this part to the <div>. Am I correct?
<form name="dynamicselector">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="250">
<tr>
<td width="35%" valign="top" align="left">
<select name="dynamicselector2" size="4" onChange="generateimage(this.options[this.selectedIndex].value)">
<option value="http://image1.jpg" selected>Exterior</option>
<option value="http://image2.jpg">Master Bedroom</option>
<option value="http://image3.jpg">Master Bath</option>
<option value="http://image4jpg">Living Room</option>
</select>
</td>
<td width="100%" valign="top" align="left"><ilayer id="dynamic1" width=100% height=178><layer id="dynamic2" width=100% height=178><div id="dynamic3"></div></layer></ilayer></td>
</tr>
</table>
</form>