javascript - Preventing a div from becoming a yui-menu , when it is used inside a ul which is a yui-menu -


i dynamically generating layout thumbnail code shindig, create preview/thumbnail of layout , place inside drop down menu.

the issue is, if div put inside <ul/> or <li/> element , or matter part of hierarchy, converted yui-overlay or yui-menu itself.

because of this, layout previews not appearing , , if way show them ,then click event them not being triggered.

has faced similar issue before this? or has insight how can done??

thanks, neeraj

try use span style display: block instead. style, behaves div overlay leave alone.


Comments