Hello there!
I am new in using DynAPI. Does anybody know how to get a value from
getYfactor() in event handler onScroll? This is the script I use (DynAPI =
scroll2.js), but the value of yFactor is empty. Where I did wrong?
--------------------------------------------------
function getScrollFactor() {
yFactor = this.getYfactor();
document.myform.yFactor.value = yFactor;
}
// instantiate scroll object
myscroll = new Scroll(20,20,150,200)
myscroll.useH = true
myscroll.imgSet('images/scroll2/windows/',16,16,37,-1,2,-1,2,1,1)
myscroll.drawBorder = true
myscroll.build()
myscroll.onScroll = getScrollFactor
<body>
<form name="myform">
Information the content of variables:
<br>yFactor: <input name="yFactor" type="text" size=10>
</form>
</body>
Thanks in advance,
Oktorijanto Wahjuwibowo
Fenestrae BV
E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
T: +31 (0)70 30 15 164
M: +31 (0)6 25 38 79 15
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help