| Using context menu's in iframes within a page already using a me ¶ | |
| we build up an application using an iframe inside the main page. the main page will contain a normal dynarch menu like an application menu. the iframe handles some diffrent contents and should use a dynarch context menu on some objects. | |
| Re: Using context menu's in iframes within a page already using ¶ | |
| Concerning the "element not found" error, are you sure that an element having the ID given to DynarchMenu.setup() exists in the DOM at the time this function is called? The best way to make sure of this is to call the function from the body.onload event. If you can provide an URL for us to check it would be a lot easier to debug the problem... | |
| last |
| Re[2]: Using context menu's in iframes within a page already usi ¶ | |
| their is no problem running the iframe for itself or disabling the iframe from the main page. you can download a simple example at: www.teqneers.de/dynarch_example.zip inside you have a file teq_index.html and the iframe teq_iframe.html. both should be copied to a normal dynarch menu examples folder. | |
| last |
| Re: Using context menu's in iframes within a page already using a me ¶ | |
| I am having the same issue. I have a menu in the main frame and one in an iframe on the same page. It appears that when the main menu is loading it is accessing the javascript files in the iframe. Since the <li> elements aren't accessible from within the iframe the 'error menu element not found' alert pops up. I have tried various workarounds but so far nothing seems to work. It looks like a patch may have been provided to fix this issue, is the patch available on the website? I would appreciate any suggestions. Thanks. | |
| last |
| Re[2]: Using context menu's in iframes within a page already using a me ¶ | |
| I found a fix but it required modifying the hmenu.js file. I changed the line: _dynarch_top=window.parent; to: _dynarch_top=self;
| |
| last |














