Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13

Deprecated: Function split() is deprecated in /home/dxmenu/public_html/data/support/rqfunc.php on line 13
If There Is A Way Of Establishing The Width At "runtime" In The Javascript Dynamic Menu?
 
(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    If there is a way of establishing the width at "runtime" in the javascript dynamic menu?

Return to Recent Questions


Q: I just need to know if there is a way of establishing the width at "runtime" in the javascript dynamic menu so that my frame in my frameset can be widened accordingly.

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

Where XXX - menu index. So, first menu on the page has ID "dm0m0".
So, you can determine menu 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

Bootstrap Columns Mobile Bootstrap Menu Responsive  |  Bootstrap Offset Usage  |  Bootstrap Image Gallery  |  Bootstrap Checkbox Label  |  Bootstrap Accordion Table  | 
Copyright (c) 2016, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. fr | website designer | Mobirise Templates | bootstrap navbar | free bootstrap template