Can Image Width be changed at run time?

Lectora 2006: I have been able to access the width of an image from JavaScript for an object assigned the HTML name image7176

Code:

Action On: Mouse Click Action: Modify Variable Target: x Value: JavaScript:alert(image7176.w)

but not been able to change it. This code does not work.

Code:

Action On: Mouse Click Action: Modify Variable Target: x Value: JavaScript:image7176.w = 300

Anyone know how to do that?thanks,ben

Discussions have been disabled for this post