Door Games Unlimited

Welcome, Guest.


Subject: frame.js scrollbars Date: Tue Nov 24 2015 15:19:17
From: Nightfox To: echicken

  Re: frame.js scrollbars
  By: echicken to Nightfox on Tue Nov 24 2015 08:25:30

 Ni>> started using frame.js a bit tonight to see what it can do. I saw
 Ni>> that it has a 'scrollbars' property, but it seems that even when I
 Ni>> set it to true, it isn't displaying scrollbars. I tried making sure
 Ni>> v_scroll and h_scroll 

 ec> Those properties are placeholders and don't do much of anything at the
 ec> moment. 

 ec> You can use the ScrollBar object from scrollbar.js (note the camelCase -
 ec> there is also a Scrollbar object in that same file, which is not Frame
 ec> compatible) to add scrollbars to frames. See comments at the top of the
 ec> file for options and instructions.

 ec> properties actually do something. For now, just attach a ScrollBar to a
 ec> Frame prior to calling Frame.open(), and call .cycle() on your ScrollBar
 ec> as often as you call .cycle() on the Frame.

Thanks.

Nightfox

---
 ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com

Previous Message       Next Message
In Reply To: frame.js scrollbars (echicken)