I made a html CD presentation based on cascading drop down menu but it works good only onIE and Google Chrome web browsers.
It doesn't work good on Mozilla Firefox browser. It shows menu properly but there is a problem with normal navigation.
The problem is with paths. I put the main js file in "menu" folder and I also have few folders with many html files in them.
For path I use the following "file:/(direct path to specific html file)". It works fine with IE and Google, but Mozilla/Firefox doesn't show the menu.
I tried also to use prefix "file:/" but it also doesn't show the cascading drop down menu on Mozilla/Firefox.
Is there any way to solve this problem?
Thank you for your answer. A: It is not correct to add "file:/" in the link field.
You should write:
You can try also to write links in the following way:
But I don't think that this will help you.
This is a feature of Firefox browser, Opera and Safari. These browsers cannot determine the root folder ofthe website (D:\ in the examples below) on a local machine (as IE and Google Chrome).
IE: D:\html\other\page.html (works)
Opera: file://localhost/html/other/page.html (link doesn't work)
Google Chrome: file:///D:/html/other/page.html (works)
Safari: file:///html/other/page.html (link doesn't work)
Firefox: file:///html/other/page.html (link doesn't work)
You use relative paths (and your folders have several embedded folders), so your links won'twork correctly in Firefox, Opera and Safari. The reason is not in the menu. Standard linkswon't work too.
So I think that the unique solution in your case is to move ALL link files (1.html,2.html, a.html ...) into the same folder with your index.html file.Q:
But given the sample on
we want to delete menuentry 'Sample1' and do
dm_ext_deleteItem(2, 4, 0)
So, if you have only one menu on your test page you should use ID=0Q:
We had a strange problem with the menus when the sub menus are over applet in https: the applet disappeared.
After doing some Investigation in your code we noticed that you are using in HTTPS mode div instead of Iframe.
We would be happy if you can tell us why you are using div in this mode and if we will use http mode will it cause something that can affect the menus A: Iframes don't work on https:// websites. You'll get warning message. That's why we're using <div> tag.If for some reasons a submenu can't drop down over an object the latterwill be hidden for a time when the submenu is shown.
How can I add a separator to the expanding navigation bar using the dynamic functions?
It seems as though the only way to get a separator into the menu is by defining itbefore hand,
but the website I'm building will require me to reload themenus dinamically,
and I'm losing the ability to put separators on it. A: You should add items using the following function:
function dm_ext_addItem (menuInd, submenuInd, iParams)
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Find more info:
Set the following parameter:
So, you should write:
dm_ext_addItem(0, 4, ["|-", "", "", "", "", "", "", ])