Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 14, 2007 15:13
open dhtmlx forum
Does dhtmlxMenu support dropdown menus over frames, Iframes, flash and forms?  Is ther a setting or som...

Does dhtmlxMenu support dropdown menus over frames, Iframes, flash and forms?  Is ther a setting or something I can change to make the dropdowns stay on top of another frame?
Answer posted on Mar 14, 2007 15:14

a) There is no way to draw content from one frame over another frame on the same level <frameset>

            <frame1>

            <frame2>

There ais no solution for such situation. The browser strictly limits content of frame to frame itself.

b)  But in case of multi iframe structure <document>

            <iframe1>

            <iframe2>

next workaround can be implemented:
 

dhtmlxMenu object can be created in top level document. In such case expandable menu will be always positioned over iframes (because menu is placed in window which is not sibling but parent to iframes)
Answer posted by milos on Aug 06, 2009 09:01

In my Iframe case it does not work. subMenu opening causes iframe to move down. It does open over iframe. Is it possible to be done?

 

Here is the example:

<html>
<head>
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxmenu.js"></script>

<link rel='STYLESHEET' type='text/css' href='../common/style.css'
</head>
<body>

<div id="menuObj" style="">meni je tu valjda</div><br>
  <script type="text/javascript">
 var menu = new dhtmlXMenuObject("menuObj");
 menu.addNewSibling(null, "file", "File", false);
        menu.addNewChild("file", 0, "file_new", "New", false, "new.gif");
   </script>
<iframe src="_blank" width="1200"></iframe>

</body>
</html>

Answer posted by Alex (support) on Aug 06, 2009 09:12
Please, take a look at the attached sample. Possibly it'll help
Attachments (1)
Answer posted by milos on Aug 06, 2009 10:00

Thanks, it works

 

with new js libs

Answer posted by milos on Aug 06, 2009 23:24

One correction

Its up to skin (css), not up to js libs!!.

 

Answer posted by Stanislav (Support) on Dec 04, 2014 09:38

To find more precise comments upon this issue, we can offer you read about javascript datepicker calendar and xml javascript editor.