I have trying to develop a dynamic menu system.
I am using a onclick event to get information from a database which then populates the level below.
My problem is, how do I get the menu to contract when I click on one of the top levels of that menu.
I would be grateful if someone could point me in the right direction.
Be warned that I am not by any means, an expert in Javascript, so I may come back and ask a stupid question
I am using a onclick event to get information from a database which then populates the level below.
My problem is, how do I get the menu to contract when I click on one of the top levels of that menu.
I would be grateful if someone could point me in the right direction.
Be warned that I am not by any means, an expert in Javascript, so I may come back and ask a stupid question