Woh dudes.. I had a flash, and had to try it our.. AND IT WORKED!!
The only reason I'm surprised is taht I tried something similar in 2.x and couldn't get it working..
 
Sorry here's the deal:
In order to reduce the amount of code the user need in order ot use the scrollbar,
I added the library calls to load the dynButton IN THE SCROLLBAR.JS FILE (DOH!)
My question is this.. can there be any bad side effects (as far as we know) to
accidently loading the same library twice? Is there a check when loading or defining a libary?
If not then I propose to make this part of the widget standard..
 
Just load your widget's dependancies in your widgets .js file before you define the object..
 
 
 

Reply via email to