Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:51

HTML Tags generated by Milonic in Generated Source


Poster: smarte
Dated: Saturday October 21 2006 - 2:06:13 BST

Hi,

We would like to point a few issues with the latest version of Milonic 5.760.

If you look at the site in IE6/7, you will notice that occasionally the width of the left vertical navigator sometimes shrinks and does not occupy the width of the entire left compartment, even though we have specifically designated the width of the navigator to be 100%.

In essence, Milonic converts the percentage width of 100% to a pexel value relative to the page width. However, when the page initally loads this calculated page width is not always accurate. Only, when you refresh the page, the navigator width stretches all the way through like it is supposed to do every time. Older versions of Milonic more specifically 5.735 did not have this problem. This is caused by the width of the div wrapping the menu navigator table. It is specified in pixels instead of percentage as it was sent (notice the width string is set as "width: 140px" instead of "width: 100%", like it should):
Code:
<div class="senavigatormenu senavigatorcontentmenumain senavigator1menumain" onmouseout="$I()" onmouseover="$J(5)" onselectstart="return 0" id="menu5" style="border: 0px solid rgb(0, 0, 0); padding: 0px; width: 140px; z-index: 999; visibility: visible; position: relative;">


Another problem, is that in the generated source for each menu cell we see style references of border:0px solid. This border string is written if navigator or menu item border is not specified. Ie. Milonic assumes that the navigator border is 0 and writes that.

Code:
<div class="senavigatormenu senavigatorcontentmenusub senavigator1menusub" onmouseout="$I()" onmouseover="$J(4)" onselectstart="return 0" id="menu4" style="border: 0px solid rgb(0, 0, 0); padding: 0px; width: 200px; z-index: 999; visibility: hidden; position: fixed; top: -999px; background-image: url(/library/styles/sean/flintgraygoldenrod/subnav-yellow.gif);">


Older versions of Milonic did not insert the border string if no border paramaters were sent to Milonic. That way the navigator border can then be customized using normal css. We believe that no border style should be applied by default to the milonictable if no border information was sent to milonic in the first place.

Lastly, the table cells holding each navigator link in a VERTICAL menu also end up having a width written to them incorrectly. For example, if a vertical navigator contains 10 links then each link cell ends up getting a width=10% (ie. 100 divided by 10) which is totally incorrect. It would be correct for horizonal navigators, but not vertical. The width of vertical navigator links should not be equal to the itemwidth properties, unless I guess the divides property is used. For example, in case of the site above, each of the navigator links in the main navigator end up showing as

Code:
<td id="el35" onmouseover="h$(35)" class="senavigatoritem" style="padding: 0px; height: 100%;" width="10%">


Notice the width=10% being written to the TD. This is incorrect. Instead the width should not be present at all.


Poster: Ruth
Dated: Sunday October 22 2006 - 5:37:03 BST

Hello,

I think this is something you would need to contact Milonic about. We are volunteers and do not work for Milonic.


Ruth