I want to know using Java Sript, how can I get sub buttons when I mouseover a button, for example, in daniweb.com, when I mouseover Web Development button, then it expands and shows PHP, ASP.NET, Cold Fusion, ASP, JSP and so on.......
How I can make this type of button like Web Development using Java Script.

Recommended Answers

All 3 Replies

I guess you are talking about navigation menu, not sub button. I am not sure how much knowledge in JavaScript you have. There are many ways to do this from scratch; besides, there are many js libraries(files) you can use. Also, are you using pure JavaScript from client side or from your server side? You may need to do some research on what you want.

yes, i am talking abt navigation menu, and i am not using pure js from client side, rather from server side, so pls tell me one suitable scratch level way to do this.

You are describing flyout menus. They can be done [almost] entirely with CSS.

Google for
CSS flyouts

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.