Access Scroll bars in jweb

Beep's icon

Is there a way to control the scroll bars in jweb within max, say with a number box? Many thanks.

seejayjames's icon

not sure, but I did find an auto-scroll bit on a web page recently:

function animate_page()

{jQuery('html,body').animate({ scrollTop: jQuery('#scrolltest').offset().top }, 2000);}

dunno if that can be hacked into a Max patch, as a command to jweb. though I'm sure there are ways to send commands to a web page in jweb...

the "2000" was the msec I believe. so maybe you'd need named anchors to refer to?

robzuidwest7's icon

Hi, I would also like to control the scrollbar in jweb. Did you manage to do that and will you me how you did it?
Thanks