Menu doesn't drop down before main menu bar
2006/06/25 05:08
Viewed 4970 times
Replies: 1/1

I just started using the menu system. I have a menu setup and when you click the top lin the sub-menu displays, but covers almost the entire main menu link. How can I fix this?

last
Re: Menu doesn't drop down before main menu bar
2006/06/25 10:52
Viewed 6350 times
Replies: 0/0

Check out this thread: http://www.dynarch.com/forums/436 -- it shows how to work around this bug.

last
DHTML menu w/Prototype
2006/07/06 00:11
Viewed 8539 times
Replies: 0/0

Hi,

I'm using the DHTML Menu with the Prototype library. I'm loading the content of the menu through an AJAX request. When I view the generated source (using the Web Developer Toolbar) in Firefox I see the menu content but the menu isn't being rendered. I see the following error in the javascript console:

  • -----------------------------------------------------
  • Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLBodyElement.insertBefore]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: file:///C:/Documents%20and%20Settings/xcos923/Desktop/v2/v2/hmenu-2.9/src/hmenu.js :: DynarchMenu :: line 16" data: no]Source File: file:///C:/Documents%20and%20Settings/xcos923/Desktop/v2/v2/hmenu-2.9/src/hmenu.jsLine: 16
  • -----------------------------------------------------

Here's the javascript wrapper for the menu:

  • -----------------------------------------------------
  • Event.observe(window, 'load', menu, false);

function menu () {

// If the menu div has no contents, use the global menu
if (!document.getElementById('menu').innerHTML) {
new Ajax.Updater('menu', 'menu.html', {asynchronous: true});
}

// Include application and application suite menu if requested
if (document.getElementById('menu').getAttribute('applications') == 1) {
new Ajax.Request('applications.html', {asynchronous: true, onSuccess: applicationsMenu, onFailure: menuError});
}

if (document.getElementById('menu').getAttribute('suite') == 1) {
new Ajax.Request('suite.html', {asynchronous: true, onSuccess: suiteMenu, onFailure: menuError});
}

// 'Draw' the menu
DynarchMenu.setup('menu', {electric: true});
}

var applicationsMenu = function(r) {
new Insertion.Top('menu', r.responseText);
}

var suiteMenu = function(r) {
new Insertion.Bottom('menu', r.responseText);
}

var menuError = function(r) {
alert(r.statusText);
}
-----------------------------------------------------

Here's the HTML source:

  • ----------------------------------------------------

<html>
<head>
<title>UP: Application Template</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<script src="../scriptaculous-js-1.6.1/lib/prototype.js" type="text/javascript"></script>
<script src="../common.js" type="text/javascript"></script>

<script src="../hmenu-2.9/src/hmenu.js" type="text/javascript"></script>
<script src="../menu/menu.js" type="text/javascript"></script>
<link href="../hmenu-2.9/src/skin-xp-apps.css" type="text/css" rel="stylesheet" />
</head>
<body>

<ul id="menu" applications="1" suite="1"></ul>

</body>
</html>

Thank you,
Jeff

last
httpd error log
2006/07/28 14:31
Viewed 5064 times
Replies: 0/0

Hi,
Using Linux FC and tail -f /var/log/httpd/error_log, I get this message
[Fri Jul 28 13:22:13 2006] [error] [client 190.105.100.2] File does not exist: /var/www/html/var, referer: http:// .....
as soon as I include <script type="text/javascript" src="include/hmenu/src/hmenu.js"></script> in my php page.
Any help to get this out ?

last
Weird behaviour under IE7
2006/11/21 00:37
Viewed 4655 times
Replies: 2/3

I'm testing DHTML Menu using IE 7.0.5730.11 (installed on Windows 2003 SP1) and there is a problem when the menu is beeing loaded. DHTML takes 100% of CPU. Has somebody got this problem too ?

last
Re: Weird behaviour under IE7
2006/11/21 01:03
Viewed 6070 times
Replies: 0/0

This happens only when using ClearType. I disabled it and worked ok.
Any idea of what's happening when using ClearType ?

last
Re: Weird behaviour under IE7
2007/02/17 00:49
Viewed 5320 times
Replies: 1/1

I am seeing this as well. I have two menus on my site. One vertical and one horizontal. Only the horizontal one seems to be a problem. I would like some kind of response about it please.

last
DynarchMenu undefined
2006/12/19 01:44
Viewed 4284 times
Replies: 1/1
  • My test was working until I integrated the menu on my main page. I am basically executing the menu using an ASP call: server.execute "menu/mytest.html"
  • I read all the comments regarding this problem and try some of them without any luck.

Any Idea..?

last
Re: DynarchMenu undefined
2006/12/19 09:27
Viewed 5617 times
Replies: 0/0

There's no specific problem about DynarchMenu and ASP; you most likely forgot to include (or you put a wrong address of) the hmenu.js file.

last
frames demo causes multiple errors in IE7
2007/01/02 21:49
Viewed 4308 times
Replies: 0/0

a runtime error has occurred. do you wish to debug?
line: 55
error: Can't execute code from a freed script

this happens twice for everything I try once I click on an item in the frames demo of the menu thing. I have the IE script debugger installed, which complains about a lot of sites.

last
Safari not rendering menu
2007/02/07 04:22
Viewed 4055 times
Replies: 0/0

Thanks for the fine menuing system. We just implemented and it works great in just about everything -- Firefox, IE, Konqueror. However, it does not seem to render in Safari. We are using the paid version so the encryption should not be an issue. It's hard for me to debug since I do not have a Safari browser -- colleagues have taken a look and mentioned it is not working. You can see it now at http://www.stjoe.on.ca/. Is this a bug? Is there someone out there that can potentially help out? Even if it is a couple of hours of paid consulting work.

last
DynarchMenu reloading frames
2007/02/13 02:04
Viewed 3976 times
Replies: 2/2

For framed menus, the hierarchial menu reverts back to an unordered list when the frame is reloaded. To witness this:
1) go to the DynarchMenu samples.
2) choose the frames sample.
3) hover over the menu frame.
4) <right click><this frame...><reload frame>

Any ideas?

last
Re: DynarchMenu reloading frames
2007/02/13 21:23
Viewed 5324 times
Replies: 0/0

You should be able to fix that by calling "reinit()" in the child frame's onload handler. But note that this is also called by the frameset script when it's first loaded, so probably should have something like this (note the example should work with our frames sample, but I can't be sure about your particular setup):

if (!window.parent.first_time)
window.parent.reinit();

Add the above code in the body's onload handler for the child frame and you should be done. Please let me know if that doesn't work or if you have any other questions.

last
DynarchMenu reloading frames
2007/02/23 20:07
Viewed 5198 times
Replies: 0/0

Problems reloading the pages in the frame menu. It's the same with the example including in this web site. I was trying like the intructions show, but I can resolve it.

last
DynarchMenu.setup restores minimized browser window
2007/04/19 20:15
Viewed 3458 times
Replies: 0/0

The DynarchMenu component restores a minimized IE6 browser window when DynarchMenu.setup is called.

We have search results that get refreshed at a set interval via an AJAX call. The returned results have elements that use Dynarch context menus, so we call DynarchMenu.setup after adding the results of the AJAX call to the DOM. Our problem occurs when the browser is minimized and the AJAX call returns, kicking off a call to DynarchMenu.setup. This causes the minimized window to be restored, interupting whatever the user may have been doing in another window.

This problem is not AJAX related as it can be reproduced in the following code.

<html>
<head>
<title>Window focus test</title>
<!--BEGIN Setup Dynarch menu-->
<style type="text/css">@import url("hmenu/skin-xp.css");</style>
<script type="text/javascript">_dynarch_menu_url = "hmenu/";</script>
<script type="text/javascript" src="hmenu/hmenu.js"></script>
<!--END Setup Dynarch menu-->

<script type="text/ecmascript">
var i = 10;
var intervalId;
var countDownDiv;
function startCountDown()
{
countDownDiv = document.getElementById('countDownDiv');
countDownDiv.onclick = null;
countDownDiv.style.cursor = '';
intervalId = setInterval(countDown, 1000);
}

function countDown()
{
i--;
if (i === 0)
{
clearInterval(intervalId);
setContextMenu();
}
else
{
countDownDiv.innerText = i + ' seconds until context menu setup. Please minimize browser window.';
}
}

function setContextMenu()
{
DynarchMenu.setup('menu', { context: true });
countDownDiv.innerText = 'Right-click here.';
}
</script>
</head>
<body>
<div onclick="startCountDown()" id="countDownDiv" style="cursor: pointer;">Click here to start count down.</div>
<div style="display: none;">
<ul id="menu">
<li class="context-for-countDownDiv">
<ul>
<li>Foo Bar item 1 </li>
<li>Foo Bar item 2 </li>
</ul>
</li>
</ul>
</div>
</body>
</html>

last
[IE] Operation aborted
2007/05/16 17:56
Viewed 3395 times
Replies: 0/0

hi

i've got this annoying problem in IE with menu:

Internet Explorer cannot open the Internet site http://www.example.com. Operation aborted.

Does anyone know how to fix this problem?

last
Error: win.document.body.insertAdjacentHTML is not a function
2007/07/23 10:21
Viewed 2875 times
Replies: 0/0
by 1701

Error: win.document.body.insertAdjacentHTML is not a function
Source: http://localhost/hmenu/src/hmenu.js
Строка: 16
Is anyone have a problem with this under IE6?

last
frame to small to display menu...
2007/10/02 06:21
Viewed 2210 times
Replies: 0/0

Hi,
I have a two frame web page. On the left it width is very small and can not display the whole context menu and Dynarchmenu just do it with some area hidden by the left. Would like to ask if the context menu can extend to the right frame and has all the display correctly ?

Thanks in advance.
Ah Kim

last
Google