Closed maxsite closed 11 years ago
Hi, are you experiencing an issue with positioning?
When positioning the dropdown in the block with position: fixed; function offset () calculates the output from the beginning of the page. Need from a parent that does the position ().
При расположении dropdown в блоке с position: fixed; функция offset() расчитывает вывод от начала страницы. Нужно от родителя, что и делает функция position().
Друг, замени строчку:
top: trigger.offset().top + trigger.outerHeight() + vOffset
на
top: trigger.position().top + trigger.outerHeight() + vOffset