| Menu doesn't go away when using iframes ¶ | |
| We are using the iframe trick in order to get a fixed position, persistent menu at the top of our page. That is, we have a single HTML page that uses the hmenu at the top, and below that is an iframe for the main page content. The menu dropdown displays correctly, but if one first clicks the menu, and then clicks somewhere in the iframe, the dropdown menu continues to display. You have to click somewhere at the top, on the outer page in order for the hmenu to detect the click and cause the dropdown menu to disappear. I assume that somewhere in your javascript, whenever you add an hmenu to a page, you must set yourself up as a mouseClick listener of some sort on the page so that you know whenever the user has clicked off of your menu... but obviously you're not set up to listen for the same events on an iframe embedded on that same page. But I'm just guessing. Can you please affirm that this is an issue and advise any workarounds. This has become a major issue for us (and yes, we are a paying customer). Thanks in advance, Mike Gorman | |
| Re: Menu doesn't go away when using iframes ¶ | |
| Indeed, I can confirm this issue with the IFRAME approach. We do set the event handlers, but sometimes they don't get called, and—worse—when the iframe document changes, our handlers get lost. I will look into this problem, but until we have a fix, let me ask you if you would be happy with a “cross-frames” solution. For that, you have to use a real frameset. Current versions of DynarchMenu don't support cross-frame menus, but we have one in development which looks quite good and is to be released within the next few days. Either way, I will try to find a solution for the iframe problems too. | |
| last |
| Re[2]: Menu doesn't go away when using iframes ¶ | |
| As a follow up to Mike Gorman's question - We really need an IFRAME solution because switching to regular frames will require rework that we can't afford to do right now. I am working with Mike Gorman and I will be handling this issue. We have the ability to add whatever javascript listeners we need to on all content that displays in the IFRAME. I am pretty sure that all we need to do is to call some function on the dynarch component every time a page loads into the IFRAME. If you can send a patch then I can just go head an fix it on our end -- until the next version of this software is released with this fix. | |
| last |














