By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,053 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,053 IT Pros & Developers. It's quick & easy.

Dropdown Menu

P: 1
Hello I am new to PHP.
I want to create DropDown menu.
When user hovers mouse over the text in menu, subcategory should be dropped down.
How to create such PHP page and javascript for this ?

waiting for help.


sac
Feb 3 '07 #1
Share this Question
Share on Google+
1 Reply


Motoma
Expert 2.5K+
P: 3,235
Hello I am new to PHP.
I want to create DropDown menu.
When user hovers mouse over the text in menu, subcategory should be dropped down.
How to create such PHP page and javascript for this ?

waiting for help.


sac
Welcome to The Scripts, pawarsac.
The conceptual difference between PHP and Javascript is that PHP code is executed on the server, while Javascript is executed on the browser. Drop-downs and the like are browser side actions, and therefore must be down with Javascript and/or CSS.

I can offer you a great site to learn to do dropdowns with CSS, and that site is CSSPlay.

If you specifically want the drop downs to be done in Javascript, let me know, and I can move this thread to the Javascript forum.
Feb 3 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.