PDA

View Full Version : Menus not visible when used with a frame


bommi_k
02-08-2003, 06:26 AM
I wanted to use Menu's in a page.,The menu is to be placed in a left frame.When i click on the menu with mouseover event., i am getting the submenu's but since a frame exists in the right side i am not able to view the Submenu ., the right frame is overlapping the menu's..Can anybody suggest a solution for this or send a sample code.

Thanks & Regards.,
B.Naveen Kumar

Danne
02-08-2003, 01:43 PM
If the submenus are defined in the left frame, they are not visible outside its area. You need to put the submenus in a frame that covers the area that you want to use to show the frames.


+--------------+-----------------------+
| Left Frame | Right Frame |
| | |
| Menu | |
| Menu Sub|(menu) |
| Menu | |
| Menu | |
| Menu | |
| | |
| | |
| | |
+--------------+-----------------------+



If you want to use a menu in the left frame, chances are that you can use an iframe instead of the right frame.



+--------------+-----------------------+
| top window | IFrame |
| | |
| Menu | |
| Menu Sub menu |
| Menu | |
| Menu | |
| Menu | |
| | |
| | |
| | |
+--------------+-----------------------+




This way your sub menu should be visible above the iframe (at least in >IE 5.5).