@rasmusfl0e,
Thanks for your reply, however it did not work;
Also, I have tried the code below, but it did not work:
var Slider; // to define Slider in the global scope
window.addEvent('domready', function () {
Slider = new MooFAQ();
Slider.slide();
Slider.loadHash();
});
I don't know whats wrong with my class, but it did not working using
bind(this) and it is not calling the initialize() method;
I've updated the jsfiddle with your suggestions:
http://jsfiddle.net/machadoug/LPVkv/2/
Thanks for helping.