iframes and opera
2006/01/25 20:28
Viewed 4229 times
Replies: 0/0

This behavioure can be reproduced with opera 8.51
If a menu folds out near an iframe the submenu slips under the iframe. What can I do?

last
Using context menu's in iframes within a page already using a me
2006/04/09 15:40
Viewed 4040 times
Replies: 2/5

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.
Currently a javascript error occurrs ("Error: menu element not found") during loading the main menu. the context menu inside the iframe will get loaded correctly.
if i change both menus to use the name "id", the main menu will be loaded inside the iframe instead of the main page???

last
Re: Using context menu's in iframes within a page already using
2006/04/09 16:33
Viewed 5612 times
Replies: 1/2

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: Using context menu's in iframes within a page already using a me
2007/05/23 20:59
Viewed 3375 times
Replies: 1/1

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
help
2006/04/14 20:31
Viewed 3752 times
Replies: 0/0

if i use
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

in the file head then menu can not use

can you tell me the reason?
thanks

last
iFrame/Frame issues in IE 6 (SP2)
2006/04/15 03:20
Viewed 6051 times
Replies: 2/6

I am having some issues and have a question. First off bugs.

BUGS
1. The iFrame example on the site SCROLLS when I move the mouse over any menu item containing a submenu. For example: I open the example file (http://www.dynarch.com/demos/hmenu-2.9/examples/iframe.html) and scroll to the bottom of the iFrame. When I move the mouse over "File" the iFrame flickers and scrolls upward. This occurs on "FILE" "FILE -- NEW" and "FILE -- SEND" among others. NOTE: this only happens on the first time I highlight a menu with a submenu. After I have highlighted every menu (w/submenu) it does not happen again until the page reloads. I am also having issues with the iFrame not rendering completely, the second line of text is invisible until I scroll the frame or highlight the text... bizarre.

2. The frame example give me a "Can't execute code from a freed script" error on any page but the index. When I click on Tech Specs for instance, the page loads, and throws a javascript error and the menu ceases to function.(http://www.dynarch.com/demos/hmenu/examples/frames.html)

Note, I am using IE 6 with the latest patches. Firefox works great, but thats not the point... :-)

Are these known/resolved issues that I'm having?

QUESTIONS
1. Is this possible to render the menu in XHTML 1.0 strict?

Sorry if any of these issues have already been resolved or are the result of id10t issues... :-)

Thanks!
Derek

last
Re: iFrame/Frame issues in IE 6 (SP2)
2006/04/15 15:12
Viewed 7618 times
Replies: 1/2

Hmm, I am noticing this. It's definitely an IE bug but I have no idea how to work around it :-( sorry. Perhaps I will find a fix until the next version.

last
Re: iFrame/Frame issues in IE 6 (SP2), PROBLEM SOLVED
2006/04/16 00:33
Viewed 8102 times
Replies: 1/2

I seem to have isolated the iFrame jumping issue and interestingly enough, it is related to the question I asked.

It seems you MUST delare a XHTML doctype on the pages within the iFrame. You were using index.html which did not have a doctype declaration.

Use either of these on the index.html page, validate what is on the page, and voila!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-OR-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

This resolves the iFrame jumpiness.

If you could get the menu to operate in the first, Strict mode, it would virtually guarantee it works across browsers...

Derek

last
Multiple instances DynarchMenu
2006/04/24 21:49
Viewed 4059 times
Replies: 0/0

We tried to implement multiple instances of DynarchMenu on one page (without frames).

This seems to be a problem? Firefox 1.5 give's an error, I fixed it by changing the dom.max_script_run_time value to 10.

Anyone a idea??

last
hmenu and prototype
2006/05/04 02:57
Viewed 4122 times
Replies: 1/4

I am trying to use Prototype's Event.Observe(menu_item_link,'click',... but it never seems to fire. If I hard code a onclick="" in the <a> tag, it works. Is there an incompatibility between the two?

Also, I tried to scan the source, but when I went back to the email with the package in it, I only have the source that is compressed, not the commented version . I'd thought that there were both, one for me and one to use still compressed if I so chose.

last
Re: hmenu and prototype
2006/05/04 10:33
Viewed 5600 times
Replies: 2/3

I am trying to use Prototype's Event.Observe(menu_item_link,'click',... but it never seems to fire. If I hard code a onclick="" in the <a> tag, it works. Is there an incompatibility between the two?

Not sure if it's an incompatibility; however, it can't work because the HTML that you write in the <ul> is replaced by totally new elements.  For instance, a table item is a <tr> element in a table, and it has a <td> for the icon, one for the label and one for the right arrow (if it has a popup submenu)—so things are more complex.

So I gather you generally want to be able to add an event handler when an item is clicked?  If so, it could help you if you can get a reference to the item's <tr>?

Also, I tried to scan the source, but when I went back to the email with the package in it, I only have the source that is compressed, not the commented version . I'd thought that there were both, one for me and one to use still compressed if I so chose.

In the “library” version...

last
Google