not sure if this is possible but I need to write a script to dynamically change the value of an applets parameter.
so far I've got a load of script with, I'm sure, many errors in. but hopefully it'll give you a clue as to what I'm trying to achieve. I'm also not sure if this will work as the applet may not change when the param is changed (if you see what I mean...)
<script language="Javascript">
function changeimage(filename) {
window.document.imageviewer.Image.value = filename;
}
</script>
<select name="changeim" onchange="changeimage(this.value);">
<option>outside1.jpg</option>
<option>comms10.jpg</option>
</select>
<applet name="BeHereViewer" code="BeHereViewer" archive="imageviewer.jar" width="528" height="528" align="center">
<param name="Image" value="outside1.jpg">
<param name="autoSpin" value="40">
</applet>
-- oh dear more confused now than I was when I started to write this!
thanks for any help
Emma
so far I've got a load of script with, I'm sure, many errors in. but hopefully it'll give you a clue as to what I'm trying to achieve. I'm also not sure if this will work as the applet may not change when the param is changed (if you see what I mean...)
<script language="Javascript">
function changeimage(filename) {
window.document.imageviewer.Image.value = filename;
}
</script>
<select name="changeim" onchange="changeimage(this.value);">
<option>outside1.jpg</option>
<option>comms10.jpg</option>
</select>
<applet name="BeHereViewer" code="BeHereViewer" archive="imageviewer.jar" width="528" height="528" align="center">
<param name="Image" value="outside1.jpg">
<param name="autoSpin" value="40">
</applet>
-- oh dear more confused now than I was when I started to write this!
thanks for any help
Emma