Closed turrea closed 11 years ago
:+1: Need this desperately :D
Sorry can't seem to figure out how to use open and close.
You would call those methods on the slidingView object. I believe there is a global called slidingView created when you initialize the sliding view, so you would invoke methods as follows:
window.slidingView.open();
or
slidingView.open();
or if you store the sliding view in a local var
var slideMenu = new SlidingView('#id');
slideMenu.open();
slideMenu.close();
Hope that helps.
Worked great! Thanks!!!
helped me too! thx!
methods to programmatically slide view allow for one touch sidebar menu access (ie tapping a button in the body could slide view)