You are probably aware that most modern browsers allow you (and you visitors) to change the size of the text... this, for many web designers, is a real nightmare as it tends to incorrectly render your whole design (that you worked so carefully for months).
You may also have noticed that the menus created with DHTML Menu Builder do not work properly with this feature as the text inside the menus gets resized but the menus themselves do not.

Here's a small piece of javascript code that you can add to your dmbAPI projects so the menus are automatically resized to meet the user-defined text size.
Of course, you can also use this code with static menus; just make sure that you compile your project with the developers' edition and that you enable the DynAPI support (Tools->DynAPI).

To test the code simply change the text size on your browser (consult your browser's documentation to learn how you can change the text size; for example, under FireFox you simply press CTRL++ to increase it or CTRL+- to decrease it).

NOTE #1: This will have no effect under Internet Explorer since the menus' text is not affected by the custom user-defined text size.

NOTE #2: Make sure that the following code appears after the menus' loader code.
If you're generating menus programmatically (through the DynAPI) then include this code after your DynAPI code.

<div id="chkText" style="position:absolute;visibility:hidden;">X</div>
<script language="javascript">
  dmbAPI_Init();
  var el = document.getElementById("chkText");
  var dts = -1;

  function chkTextSize() {
    if(dts != el.offsetWidth) {
      HideAll();
      _asc(1, true);
      var d = document.getElementsByTagName("DIV");
      for(var i = 0; i < d.length; i ++)
          if(_isGroup(d[i])) _asc(d[i].id, false);
      dts = el.offsetWidth;
    }
  }

  function _isGroup(d) {
    var sd = d.getElementsByTagName("DIV");
    if(sd.length>0)
      return (sd[0].id.indexOf("frmt")>0);
    else
      return false;
  }

  window.setInterval("chkTextSize()", 100);
</script>