there exists an external javascript file that you must get in order for the menu to work correctly. Unfortunately, there appears to be no link at this time that allows you to download that .js file.
The file is retrievable though, just enter the following url into your browser:
A prompt window will pop up. Choose to save the file as "sliding_menu.js". This now should work when testing on your computer (w/o internet connection).
Is there a way I can change this script so that when the mouse rolls over the main categories the submenus will appear without having to actually click on the main categories?
One last question. It's a 2 parter. First, what do I need to do to keep the last category of links from automatically appearing when the page loads. Secondly, how can I make the speed of the slide down lightning quick. Your help is much appreciated. Thanks
Notice the call to the startup method as the end? The number 4 is a parameter stating the number of rows in the menu. If you change this parameter to the number of rows plus 1, the menu will stop displaying the last row and still work properly and error free.
example: If you have 4 rows, pass 5 as the parameter.
In regards to speeding up the slides, I have analyzed the code but will re-check when I am less pressed for time.
Is there is any way in this script by which i am able to show only the options of one button at a time.i.e if i move the mouse on some other button it pulls up the options of other button if any open.at a time only one button is open.
Originally posted by nevermind the speed variable doesn't do a damn thing.
Set it to 1000 for fun instead of the default value of 50 and you will see: it DOES something.
I understand, what you are talking about, because the value of that variable being quite low
you'll not see a difference, but changing that would require the rewriting of almost the entire script.
Would you be willing to do so?
Cheers - Pit
The perfect website, which isn't one: http://www.pit-r.de (completely re-designed)
Bad news for many "important" members here: I am still alive.
Bookmarks