Quick Question:
Anyone knows this? :
http://lwis.net/free-css-drop-down-menu/
It uses javascript for -IE6 only, but with javascript frameworks.
Is it possible to run this without a framework?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It could be used without a js library, but not out of the box. You’d have to write the js yourself. All you need is basically “on hover, set the style to display the dropdowns”, and “on mouseout, set the stlye to hide the dropdowns.” The key for that is the attachEvent function (for IE only, so if you decide you need other browsers, you’ll need a modify the code here). It’s better to stick it in a function so it’s easier to work with:
You could then use that function to wait for page load, then set up the callbacks for the hover and mouseout:
This is of course a very simplistic example, only using id’s to grab your menu buttons and dropdowns, but it gives you an idea how to get it started.