Hi to all there!
I'm making a tour with pop-up images and trying to get their text descriptions into textfield which would center themselves "left" or "bottom" depending on the image width and height. Soo. everything goes well and textfield updates to the needed percent width and height values. BUT. Some photos have too much text to fit into the textfield. That's why I decided to add "scrollslider" to the textfield, as it is in the "scrolling textfield" example from the Krpano download package. The problem is that my textfield has width or height defined in percents and the "scrolling textfield" example has a fixed size. I've tried to adjust the actions of this example to my needs, but there way too much variables that make me crazy (like ny, th etc.) and some numerical values which obviously depend on the text height (like value 24 which is the position of the scrollslider, as I understood it, but what is 170. hmm..).
See my test example here:
http://vt-vr.most-inform.com/
http://vt-vr.most-inform.com/vostochniy_vhod.xml
See how the scrolling textfield behaves if you resize the browser.
Any hints or help are really appreciated!!!