Milonic v5.0 Bug: HIDEDIV not running
Milonic v5.0 Bug: HIDEDIV not running
On v3.5.* you could specify the name of the DIV TO HIDE so FORM objects don't overlap the DHTML menu.
On v5.0, although there is a property related to this feature (HIDEDIV), it doesn't run (misimplemented).
On v5.0, although there is a property related to this feature (HIDEDIV), it doesn't run (misimplemented).
First of all, THIS FEATURE IS ALREADY RUNNING!
Guidelines for those ho have the same (unexistent) problem:
V3.5.*
Place your form inside a div and name it (remember to set the same value for name and id attributes). Suppose we name it howdyform.
Specify that name in the correct place when you create the menu, for a menu without submenus:
V5.0
Assure your menu and form fall into the same div or no div at all !!!

Guidelines for those ho have the same (unexistent) problem:
V3.5.*


Code: Select all
addmenu(menu=["myOKMenu",29,520,,0,,XPMainStyle,1,,,0,1,0,,3,0,0,'howdyform',,0,,
,"An Item","/url/to/somewhere onbordercolor=406080;offbordercolor=60A0C0;",,,0
]);

Hi,
We are working on a separate function for hiding menus.
This will mean that code will only be used to hide the divs if a form is actually present. In version 3 this code was being executed all the time and was quite static. Version 5 should be much more flexible.
Should be ready very soon.
Cheers
Andy
We are working on a separate function for hiding menus.
This will mean that code will only be used to hide the divs if a form is actually present. In version 3 this code was being executed all the time and was quite static. Version 5 should be much more flexible.
Should be ready very soon.
Cheers
Andy
-
- Mega User
- Posts: 169
- Joined: Sun Oct 05, 2003 4:21 am
Andy wrote:Hi,
We are working on a separate function for hiding menus.
This will mean that code will only be used to hide the divs if a form is actually present. In version 3 this code was being executed all the time and was quite static. Version 5 should be much more flexible.
Should be ready very soon.
Cheers
Andy
Hi - Really happy to hear about this...

-
- Mega User
- Posts: 169
- Joined: Sun Oct 05, 2003 4:21 am
Does this mean that the menu will automatically hide anything enclosed in a <form></form> tag? If so, it may be a problem...because the form tag creates extra space around elements & adding it around embedded objects in a design that depends on 0 spacing may be difficult or impossible... or am I not understanding what you have said?Andy wrote:It will be a generic function regardless of content so will work with Flash, Java etc.
cheers
Andy
Form elements can be made to have zero padding and margins. Using CSS you can edit the styles in line or you can specify in a global CSS file included into all your pages that ALL forms have these properties.
Code: Select all
<form id="f1" style="padding:0px; margin:0px;">....</form>
Dave Hergert
Software Engineer
"Helping to make the menu better, one
at a time."
Software Engineer
"Helping to make the menu better, one

-
- Mega User
- Posts: 169
- Joined: Sun Oct 05, 2003 4:21 am
Well, you're right in that this fix will work for most of the newer browsers. But Netscape 4.x still applies space/padding even if that style is declared. Since the menu will display over embedded objects & forms with no problems in newer browsers, the fix seems to be for older browsers like netscape 4.x - I think it would be great if the functionality could be extended to user defined divs...Hergio wrote:Form elements can be made to have zero padding and margins. Using CSS you can edit the styles in line or you can specify in a global CSS file included into all your pages that ALL forms have these properties.Code: Select all
<form id="f1" style="padding:0px; margin:0px;">....</form>
I dont think it will be hard coded to work only when forms are present. Thats seems very non-scalable and not like Andy, unless its absolutely necessary. I think it will eventually be a div, where if you want any form elements (not the form itself, but inputs) to show behind the menu, you enclose them with a DIV and then the code will work on only those elements which are within the DIV specified.
Dave Hergert
Software Engineer
"Helping to make the menu better, one
at a time."
Software Engineer
"Helping to make the menu better, one
