Active States on simpleMenuBar

How can the active states be set on the simpleMenuBar for example navigating to page 1 and setting page 1 menu item as active. There is some widget which does not work and the set timeout jQuery function using the html or javascript widget on the front-end is not good practice as there is a delay. Looked a dojo ready code etc and it is still not working.
0 answers