Petr Posted November 20, 2008 Share Posted November 20, 2008 Hi everyone, I'm new to this forum, and somewhat new to Javascript, so I'd greatly appreciate any help you can provide with my below mentioned two problems. There is a clear description of my problems: 1. I have the menu (JavaScript), this one is drop-down menu and when I have decided to choose one item of this submenu the whole submenu has closed. I need to be the submenu has opened and has marked under of yellow color (Like in the enclosed file – Picture No 1. jpg ). The script code of the menu is in the enclosed files – CodeMenuBegin.jpg, CodeMenuEnd.jpg 2. The second problem is in the reopening of the script of calenadar.php Like you can see, in the end of the script displayed in the enclosed file – CodeMenuEnd.jpg, there is the code: “ include (‘kalendar.php‘);“. At this moment I am not sure if this part of the script is reopened every time, when I choose one item of the submenu (menu – item Main page, which isn’t in the drop-down menu). I would like to be when the calendar has opened only one, when the start index.php, which is master of the script named contentmenu.php. For your information I enclose the part of the script index.php. Thanks everyone for additional helping me in this matter and sorry for my English, it isn't my native language! Petr [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/133550-drop-down-menu-%E2%80%93-hiding-active-submenu-against-opening-part-of-the-code/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.