Forums > MaxMSP

Access Scroll bars in jweb

January 19, 2011 | 6:41 pm

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


January 20, 2011 | 4:40 am

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?


January 11, 2012 | 9:10 am

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


Viewing 3 posts - 1 through 3 (of 3 total)