(12-09-2013 03:15 PM)Bala Wrote: I have used plain JQuery bro no plugins. The menu has two main things which I have seen your dropdown does not have.
1- Clicking outside the dropdown closes it.
2- The li bar changes to an active mode when the li is clicked. I have used the JQuery fadeIn, fadeOut for doing the effects.
Now need to get a good idea over the CSS. I really liked the menu of Musk, and will make something along the lines.
If you want the script I used just tell me, I will pm it over. I did not want to use any dropdown plugin as load times will increase. The current script is just a few lines.
But if u see tesla dark i have used the same function, click anywhere it closes.
I am using a source that is less than 4 kb and modified it and minified it.
The total script file size with all essential code will be less than 10kb which is not that much.
Sure, i will look tonight now,