2. I write XHTML, with a valid doctype, and the menu works for me.
Writing a document with the XHTML doctype is only part of the equation. A true XHTML document is served like an XML document with application/xhtml+xml because it is an XML document. Now if you're writing plain html pages, then it ...
Search found 21 matches
- Tue Jan 24, 2006 10:46 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bug: XHTML compliance (Replace document.write)
- Replies: 9
- Views: 5838
- Mon Jan 23, 2006 5:55 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bug: XHTML compliance (Replace document.write)
- Replies: 9
- Views: 5838
- Thu Jan 19, 2006 8:26 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bug: XHTML compliance (Replace document.write)
- Replies: 9
- Views: 5838
Menu Bug: XHTML compliance (Replace document.write)
The use of document.write in the menu should be replaced with DOM calls. This is a problem when building XHTML pages on a server that serves the correct xhtml mimetype: application/xhtml+xml
The problem is documented here:
http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite
The problem is documented here:
http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite
- Mon Jan 16, 2006 6:07 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bugs: Missing px declaration in menu
- Replies: 5
- Views: 3972
Menu Data Copy
Here's the good one:
_menuCloseDelay=100;_menuOpenDelay=100;_menuOpenDelay=100;_followSpeed=5;_followRate=0;_subOffsetTop=10;_subOffsetLeft=-10;_scrollAmount=3;_scrollDelay=20;retainClickValue=1;fixMozillaZIndex=true;
with(RootMenuStyle=new mm_style()){
borderstyle="solid";fontsize="12px";fontstyle ...
_menuCloseDelay=100;_menuOpenDelay=100;_menuOpenDelay=100;_followSpeed=5;_followRate=0;_subOffsetTop=10;_subOffsetLeft=-10;_scrollAmount=3;_scrollDelay=20;retainClickValue=1;fixMozillaZIndex=true;
with(RootMenuStyle=new mm_style()){
borderstyle="solid";fontsize="12px";fontstyle ...
- Mon Dec 26, 2005 7:22 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bugs: Missing px declaration in menu
- Replies: 5
- Views: 3972
- Mon Dec 26, 2005 6:26 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bugs: Missing px declaration in menu
- Replies: 5
- Views: 3972
Standard for declaring pixel values
This menu is a bit quirky when declaring px values. In some places, it's allowed and in those cases required and in other places, if you declare it, it breaks what it's supposed to be setting. For all values that can have px appended to them, the menu should intelligently check to see if the px ...
- Mon Dec 26, 2005 6:12 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bugs: Missing px declaration in menu
- Replies: 5
- Views: 3972
- Mon Dec 26, 2005 5:44 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Menu Bugs: Missing px declaration in menu
- Replies: 5
- Views: 3972
Menu Bugs: Missing px declaration in menu
Seamonkey 1.0b and Firefox 1.5 complain about missing px declarations in the latest version (5.738) of the menu.
Here are the offending lines:
_fsize=(_I[12]?";font-Size:"+_I[12]:Z$);
->
_fsize=(_I[12]?";font-Size:"+_I[12]+"px":Z$);
in $z function:
$S.width=$T
->
$S.width=$T+"px";
Here are the offending lines:
_fsize=(_I[12]?";font-Size:"+_I[12]:Z$);
->
_fsize=(_I[12]?";font-Size:"+_I[12]+"px":Z$);
in $z function:
$S.width=$T
->
$S.width=$T+"px";
- Thu Aug 04, 2005 4:25 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Bug in menu 5.728
- Replies: 0
- Views: 2265
Bug in menu 5.728
I don't know where to report bugs so I figured I would report it here. With the new Gecko 1.8 code (Deer Park and Seamonkey Alpha and the old Mozilla 1.8a/b), the javascript console can now report css errors. One of these errors exist in the $z function in the last statement of the function:
$S ...
$S ...
- Wed Jul 27, 2005 10:29 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Load Menu based on reference element ID
- Replies: 13
- Views: 9854
- Wed Jul 27, 2005 7:52 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Load Menu based on reference element ID
- Replies: 13
- Views: 9854
I know the spos function works for alwaysvisible menus. It just doesn't work for alwaysvisible __and__ followscroll menus. When followscroll is set, the menu disgregards spos and prefers the default top and left coordinates which are set within the "root" alwaysvisible followscroll menu. The menu is ...
- Wed Jul 13, 2005 8:55 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Load Menu based on reference element ID
- Replies: 13
- Views: 9854
- Fri Jun 17, 2005 12:26 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Load Menu based on reference element ID
- Replies: 13
- Views: 9854
It seems your function breaks the menu causing it not to load at all on version 5.726. It was working on 5.718. For some reason Andy decided to remove if(_W.buildOffScreen) from the from the g$ function. buildOffScreen I believe is a global variable to remove flicker or something. Anyway it's gone ...
- Thu Jun 16, 2005 10:01 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Load Menu based on reference element ID
- Replies: 13
- Views: 9854
- Mon Jun 06, 2005 4:26 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Load Menu based on reference element ID
- Replies: 13
- Views: 9854
- Sat Jun 04, 2005 1:05 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Load Menu based on reference element ID
- Replies: 13
- Views: 9854
Load Menu based on reference element ID
I was just curious if it's possible to load the menu using absolute positioning based on the coordinates of a reference element id like a div tag? You would then specify the offset from that reference element so the menu could be loaded at those coordinates.
1. Get top and left position of ...
1. Get top and left position of ...
- Mon Dec 15, 2003 3:24 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: overflow="scroll" does not work on main menu
- Replies: 4
- Views: 3620
- Sun Dec 14, 2003 11:56 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: overflow="scroll" does not work on main menu
- Replies: 4
- Views: 3620
I did some testing and there seems to be a direct correlation between the scrollbars not appearing and the menu being set to alwaysvisible=1. So it does not matter if it's the main menu or a sub menu. Overflow="scroll" simply does not show scrollbars when that particular menu has the alwaysvisible=1 ...
- Sun Dec 14, 2003 10:03 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: overflow="scroll" does not work on main menu
- Replies: 4
- Views: 3620
- Sun Dec 14, 2003 9:26 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: overflow="scroll" does not work on main menu
- Replies: 4
- Views: 3620
overflow="scroll" does not work on main menu
I am guessing that this is a bug but scrollbars don't appear when setting overflow="scroll" on a really long vertical main menu (submenus work fine).