Submenu don't show over applets with Mozilla/FireFox2
2006/12/16 11:47
Viewed 2267 times
Replies: 0/0

For windowed element like Flash objects, Flash player 7+ can be declared with wmode="transparent" or "opaque", then DHTML menus are shown above Flash movie under IE6/7 and FF2, including the smooth shadow of Dynarch.

For Java applet, situation is more difficult. Dynarch DHTML menu can still show above applets with IE6 and IE7 under my XP-SP2. Shadow cannot be smoothed but it's still usable for me.

Dynarch DHTML menu cannot show above applets with Mozilla/FF2. Microsoft try to control Java applets but browsers based on Gecko v1.8 don't. I didn't find this issue in the "What-to-do" list for Gecko v1.9/FF3.0.

Some DHTML menu software are trying to control the visibility of windowed elements, including applets. It will be VERY NICE that Dynarch menu do the same. I've read your message on 2006/01/11.

I always put my applet in a cell <td> of a <table> structure. One of working idea for hidding applets is to create a <div> within the cell to contain the applet (responsibility of the user):
<td width=... height=...>
<div ID="myApplet" style="position:relative">
<applet archive=...>
<param name=... value=...>
</applet>
</div>
</td>

When needed, we can hide the applet, while keeping its reserved area, with some java-script that could be:
function hideApplet() {
var elm=document.getElementById("myApplet")
if (elm) {elm..style.visibility="hidden";}
}
and show it again:
function showApplet() {
var elm=document.getElementById("myApplet")
if (elm) {elm..style.visibility="visible";}
}

To be compatible with frames or iFrame, one idea is to send a list of objects to HMenu, something like this :
[ "frame1_name", "appletA_div_ID" ]
[ "frame2_name", "appletB_div_ID" ] (if frame_name is null or zero length, it will be the main document)

Then the Dynarch script perform this:
when a main menu item, having sub-items, must be opened, the script read the list of applet_div_ID, check if this ID exist in the document or frame then hide the applet. When all sub-menus roll back to main menu only, the script check again this list and show the existing applet_div_ID.

I don't request that the script check if the sub-menu can cover or not the applet, I think the script can simply hide the applet, that's the minimum to make Dynarch menu usable with applets under Mozilla/FireFox.

I'd like to continue with Dynarch DHTML menu, so it's important that Dynarch menu give the opportunity to hide applets when needed for people using FireFox or others. If Dynarch cannot implement some way to hide applets as proposed here, is it possible for me to add an event listener to know when the main menu is opening and closing sub-menus ?

Thanks for your interest in reading this long message.

  • --Marco
last
multiple popup menus on a page
2006/12/18 21:24
Viewed 2506 times
Replies: 0/0

I'm evaluating the dynamic menu. What I hope to use it for is to provide a popup list of options for various entry fields -- sort of an optional list box effect. The user would see the entry field, followed by a little icon. Clicking on the icon will show the DHTML menu, populated with the elements valid for the field. Choosing a menu element will fire a script that will simply copy the selected value to the text field. Thus, the user can type or choose from the popup.

Here's my question: I'll need to have 20 or so popups per page. In the examples I've seen there is a single <ul id="menu">. Can I have an arbitrary number of menus and initialize them individually using multiple calls to DynarchMenu.setup(), passing the unique IDs of each unordered lists?

If yes, is there an easy way to set this up? (I don't know JavaScript very well.) I'll be using JSPs to create the <ul> elements, so I can generate a set of IDs for these. But since they'll be dynamically generated, I can't hard-code the value passed to DynarchMenu.setup(). So I need some kind of function that loops around, calling DynarchMenu with each ID.

Thanks for the help!

:-) Max

last
Highlight current menue item
2006/12/28 17:38
Viewed 2435 times
Replies: 0/0

Hi,
my problem is, that i cant highlight the current menue item. I searched the forum, but the only thread asking for the same has got no answer )-:
I can imagine, that it isnt so easy to do this automatically ( by url regexp ..).

It would be enough for me if i would know how to highliht a menue item with a javascrpit function. I aktually cant imagine how to define which element should be highlighted by the function, but if i had a function to try, i could figure this out by myself.

Thx for helping me (-:
Benjamin

last
Menu Load time
2007/01/02 20:52
Viewed 2603 times
Replies: 1/1

When my menu loads, it first appears on the screen in plain HTML format before it fully loads. My menu is relatively large, is there a way to prevent it from loading as HTML first?
I don't want the users seeing a number of links on the page in a list format and then to have it disappear and all they see is this menu on the top. I want to either show them nothing until the menu is fully loaded or have some form of warning informing the ser that the menu is being loaded. I noticed that this site has a warning appear where the menu loading, which says 'Loading, please wait....’. How can I implement something similar to this?
Thank you.

last
Re: Menu Load time
2007/01/04 01:00
Viewed 4395 times
Replies: 0/0

As said earlier, you can set a " style='display: none' " attribute on the <ul> tag.
This will hide the HTML unordered list, but will display the menu when it fully loads : )

last
Arrow keys
2007/01/17 00:31
Viewed 3031 times
Replies: 0/0

On one page of our web app the menus work fine w/ the arrow keys - that is, alt plus letter gets you to the menu and then you can arrow around. But on another page of the web app you can get to the menu with alt plus a letter key but you cannot arrow around. Any thoughts on why it might work on one page (arrowing around) but not another?

THANKS

last
problem with underscores
2007/01/20 00:09
Viewed 3128 times
Replies: 0/0

When a user includes a menu item includes an underscore, the menu is intrepreting it as a shortcut indicator. How do i either a) prevent this from occuring, or b) encode the string in such as way so that the underscore character will show up correctly in the menu item? for instance,

Test_String

shows up as

TestString (with the S underlined). TIA for all your help.

last
Disable right click
2007/01/20 00:28
Viewed 3585 times
Replies: 0/0

We are using the DynarchMenu as a vertical menu on the left side of our application. We would like to completely disable the right click for the menu. How can we do this?

last
ActiveX Warning Box
2007/01/24 01:36
Viewed 3193 times
Replies: 0/0

I am currently using DynarchMenu in the development of a product intended to be used company-wide across a wide range of platforms and operating systems. For the most part DynarchMenu appears to be up to the task, but in my evaluation of the product I have found that in Internet Explorer I get a warning box stating that I am attempting to use software such as ActiveX controls or plugins and inquiring as if they should be allowed to run.

The problem here is that since the menu is on all the pages of the product the use of IE will get this warning at every single page and will have to click through the popup to load the next page. I know this earning can be suppressed in IE by modifying the security settings, but we have deployed versions of IE which do not allow the end user to change their security settings and the settings in place will not be changed to accomidate this single script. We have several javascript products already developed and none of those scripts have caused this warning message to appear. the cuplrit is without a doubt DynarchMenu.

Therefore I ask: is there any way to modify DynarchMenu to avoid this message from popping up? I am currently using hmenu-2.9 if it is any help.

last
IE problem
2007/01/27 13:02
Viewed 3146 times
Replies: 0/0

Hi,

I am trying to get the menu working in CRELoaded, which is an offshoot of osCommerce.

To start with I have just copied the sample menu from the hmenu folder into the osCommerce code, along with the javascript into the header. It works fine in Firefox, but in Internet Explorer I get an error when I try to open a menu. The highly useful IE error message is 'Invalid Argument', which doesn't help much.

I noticed in Firefox, the Error console shows this error:

Warning: Error in parsing value for property 'top'. Declaration dropped.

The sample menu in its own file does not cause this error, and works in both IE and Firefox.  So I am guessing this is realted to why it does not work in IE. And that there is something in my osCommerce page which is interfering with the menu, but I'm not sure what to look for. Does anyone have any suggestions?

Thanks!

last
limit of menu-id
2007/01/30 12:29
Viewed 2992 times
Replies: 1/3

I have made a webside with 4 menu and ~ 500 submenue's.
In the last submenu are missing the most id's.
THe Dynarchmenu 2.9 is installed.
Is there any limit of submenu in this software.

thanks

last
Re: limit of menu-id
2007/01/30 12:33
Viewed 4348 times
Replies: 1/2

There is no hard-coded limit. But I sure know that 500 menus means *a lot*. :-)

Can you provide an URL for me to check?

last
context menu - how to get element id which called the menu
2007/02/21 15:05
Viewed 3133 times
Replies: 1/1

Hi,

I need to create few INPUT fields on my website and I am thinking of having context menu for each INPUT field. Every field would have the same context menu contents, but when the user clicks some value in the mnu I want that value to be entered in the INPUT field that was right-clicked. How do I do that?

last
Re: context menu - how to get element id which called the menu
2007/02/21 15:16
Viewed 4711 times
Replies: 0/0

See this sample: http://www.dynarch.com/demos/hmenu/examples/context4.html

It shows it's possible to retrieve the target element.

last
IE7 menus not working?
2007/03/06 11:25
Viewed 2921 times
Replies: 1/1

Anybody experienced this? I've got a site that works with the menus as long as it is visited by somebody using IE 6 - apparently, any IE 7 visitors see no menus... any ideas?

last
Re: IE7 menus not working?
2007/03/06 11:36
Viewed 4570 times
Replies: 0/0

It's not very helpful if you just say “it doesn't work”. As you can see, IE7 renders this very site correctly—and it uses the same DynarchMenu. ;-) I suspect you might be using other scripts that might be buggy and prevent menus from working?

last
blogger widget: Need to parse ul within div
2007/03/12 06:39
Viewed 2922 times
Replies: 0/0

Hi

I have a ul within a div - but it doesnt get parsed.

The reason for requiring the sub-menu within a div is because Im trying to integrate this within blogger new template design and with the use of widgets only, this is the only psosible solution for now.

So is there a workaround to get the submenu parsed within a div block ?

.
.
.
<ul>
    <li>
        <a href="link.html">Menu 1</a>
        <div>
        <ul>
        <li>Sub Menu 1</li>
        <li>Sub Menu 2</li>
        <li>Sub Menu 3</li>
        <li>Sub Menu 4</li>
        <li>Sub Menu 5</li>
        </ul>
        </div>
    </li>
    <li><a href="link.htm">Menu 2</a></li>
    <li><a href="link.htm">Menu 3</a></li>
</ul>
.
.
.

Thanks

last
problem with modal dialog
2007/03/19 13:44
Viewed 2885 times
Replies: 0/0
I'm using dynarch menu in my web application. My web page is having 6 iframes and the context menu will appear on right click of each of those iframes. This is working fine. Here is my problem. I'm opening the same web page as a modal dialog. From this page, when I try to navigate to a different page which is also having iframes & context menus, I'm getting the following javascript error " 'length' is null or not an object ". Why this is happening for modal dialog? Is there a way to solve this problem? Please help.
last
Google