(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    If there is a way of establishing the width at "runtime" in the dhtml menu vertical?

Return to Recent Questions


Q: Is there a way of establishing the width at "runtime" in the dhtml menu vertical so that my frame can be widened accordingly.

A: There are no special parameters for dhtml menu vertical dimensions.
But you can use the IDs of submenus.
For example, top-menu has ID "dmXXXm0"

Where XXX - dhtml menu vertical index. So, first dhtml menu vertical on the page has ID "dm0m0".
So, you can set dhtml menu vertical dimensions so:

document.getElementById('dm0m0').offsetWidth
document.getElementById('dm0m0').offsetHeight

You can also use Javascript API functions to take submenu IDs.






Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap 4 templates | html website maker | free icon fonts | easy website builder software | bootstrap image slider