Another update to the scrollbar component. Just made some tweaks to make it easier to implement/instantiate. It’s getting closer to more of an OOP style but it’s not all the way there yet. Now all you have to do is call/instantiate the scroller like this:
myScrollPanel=new createScrollablePanel(“sp1″,10,10,100,160,”V”,the_text,”#FFF”,9,null,”#0000FF”)
with the following parameters…
unique name, xpos, ypos, width, height, direction, text, [text_color, text_size, text_font, bg_color]
bracketed items are optional, I haven’t converted the horizontal portion yet so only “V” (vertical) is available
This makes it way easier when you have multiple scrollers on the page. The mouse wheel support also got carried over and works when the mouse is over the particular textfield you want to wheel thru. There are now properties in the constructor to control other options like color, spacing, etc.