scroll browser widget via script?
hh
hh at hyperhh.de
Tue Oct 29 17:45:55 EDT 2019
> Klaus M. wrote:
> can we (v)scroll a browser widget via script?
Of course by setting anchors and jumping via URL to there.
But you don't mean that, so:
No.
But we have a forum. From post "Scroll my widget (='.'=)"
http://forums.livecode.com/viewtopic.php?p=156701#p156701
-- scrolls "to" horizontally 0 and vertically 400 pixels
do "window.scrollTo(0,400);" in widget "browser"
-- scrolls "by" (additive) horizontally 10 and vertically 40 pixels
do "window.scrollBy(10,40);" in widget "browser"
And your next questions:
Widget usage example #5: Getting MouseEvents
http://forums.livecode.com/viewtopic.php?p=154496#p154496
Widget usage example #5b: Getting MouseEvents (part2).
http://forums.livecode.com/viewtopic.php?p=174936#p174936
More information about the use-livecode
mailing list