|
If there is a way of establishing the width at "runtime" in the menu dynamique vertical?
Return to Recent Questions
Q:
Is there a way of establishing the width at "runtime" in the menu dynamique vertical
so that my frame can be widened accordingly.
A:
There are no special parameters for menu dynamique vertical dimensions.
But you can use the IDs of submenus. For example, top-menu has ID
"dmXXXm0"
Where XXX - menu dynamique vertical index. So, first menu dynamique vertical on the page has ID "dm0m0".
So, you can set menu dynamique 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:
|