Hi,
it's nearly right
"
onhover" is called in intervals as long as the mouse is over the plugin/hotspot,
you should use "
onover" and "
onout"
e.g. - this will code change the scale immediately on mouse over or out:
|
Source code
|
1
|
<plugin ... scale="0.6" onover="set(scale,1);" onout="set(scale,0.6);" ... />
|
or if you want to animate the scale changing - then use the
tween function:
|
Source code
|
1
|
<plugin ... scale="0.6" onover="tween(scale,1);" onout="tween(scale,0.6);" ... />
|
regards,
Klaus