Hi Bob and Max
Vs 4 is great!! Though this is hopefully a pretty basic solution that I am hoping you can just point out where my error is...
I wish to have a dropDown menu that selects a small thumbnail. With 'onChange' the thumbnail changes to match the selection.
The Javascript is:
This I have put into the "load JS" tab/pane in the ACTIONS panel.
and the HTML is:
This has gone into a "Custom Element" through the "Form Wizard" panel
A single image loads and the dropDown appears as it should; though the script is not being taken up.
Question: Can you see any errors... am I putting these elements into the right areas
TIA - Simon
Vs 4 is great!! Though this is hopefully a pretty basic solution that I am hoping you can just point out where my error is...
I wish to have a dropDown menu that selects a small thumbnail. With 'onChange' the thumbnail changes to match the selection.
The Javascript is:
<!--
function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value
}
//-->
This I have put into the "load JS" tab/pane in the ACTIONS panel.
and the HTML is:
<tr>
<td width="50%"><form name="mygallery"><p>
<select name="picture" size="1" onChange="showimage()">
<option selected value="images/tmp_thmb/style1.jpg">Style No.1</option>
<option selected value="images/tmp_thmb/style2.jpg">Style No.2</option>
<option selected value="images/tmp_thmb/style3.jpg">Style No.3</option>
</select>
</p>
</form>
</td>
<td width="50%"><p align="center"><img src="images/tmp_thmb/style1.jpg" name="pictures" width="98" height="60"></td>
</tr>
This has gone into a "Custom Element" through the "Form Wizard" panel
A single image loads and the dropDown appears as it should; though the script is not being taken up.
Question: Can you see any errors... am I putting these elements into the right areas
TIA - Simon