Connecting Tech Pros Worldwide Forums | Help | Site Map

problem on creating dropdown menu?

Newbie
 
Join Date: Aug 2008
Posts: 2
#1: Aug 28 '08
I want to design dropdown menu.This menu contains two item(save,saveContent).When mouse over on Menu then display below like that
____________
Menu |
-------------|
Save |
SaveContent |
--------------
When click on "Save" item then the Menu will be changed to One "TextBox"
and "GO Buttoon" on dropdown menu.
____________
Menu |
--------------
________ |
________| GO |
SaveContent |
--------------
first, is it possible?
if possible, plz tell me the code.

Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,664
#2: Aug 28 '08

re: problem on creating dropdown menu?


First, I see no point why this should not be possible.
Second, you may want to have a look at the functions replaceChild(), appendChild(), removeChild() and the property [element].style.visibility as well as an event handler tutorial.
Third, what would be the learning effect of only posting some code without your participation?
Reply