Reply To: Cannot get width of elements

Home Forums Older releases 1.0.x Cannot get width of elements Reply To: Cannot get width of elements

#3223
admin
Keymaster

If the code runs when the sub menu is hidden (it is hidden via display: none), then you won’t be able to obtain the links’ dimensions or position. A sample workaround would be to set it temporary display: block (but still keep it hidden, for example, via visibility: hidden), get the values you need and then set it display: none again.

Register

You will be emailed a link to set your password.

Login

Lost password?