jQWidgets Forums

jQuery UI Widgets Forums Navigation Menu, Context Menu menu got 'dressed' but doesn't open submenus

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  mliga 12 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • mliga
    Member

    The rest of the page seems ok (no js errors in console).
    Any clue?
    http://94.23.252.114/newlib/lib/demo.html


    Dimitar
    Participant

    Hello mliga,

    The structure of your HTML is incomplete. You should have a declaration and an opening tag. The basic structure of an HTML document is as follows:

    <!DOCTYPE html>
    <html>
    <head>
    <title>Title of the document</title>
    </head>
    <body>
    The content of the document......
    </body>
    </html>

    The other issue with the page is that the following div:

    <div style="position: absolute; box-sizing: border-box; padding-top: 50px; padding-bottom: 40px;
    width: 100%; height: 100%;">

    has an absolute position and 100% width and height. This makes it go over the the menu and other elements. We recommend setting the position to another value, such as relative or static. It is also a good practice to close such div tags.

    We hope these tips will help you.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/


    mliga
    Member

    Solved.
    Thank you very much for your help, Dimitar.
    I putted in html tag, for sure a best practice but this wasn’t the problem.
    For the other point, i didn’t got you at first.
    I used this post http://www.jqwidgets.com/fluid-layout-with-fixed-header-and-footer/ to setup my mockup, so expected that everything would work.
    I tought that menu dropdowns for submenu will be displayed because they have a higher z-index.
    The problem here is that main sections overs header, so blocking events to go to the menu.
    I fixed putting z-index:1 on the header div, maybe moving header under body in document would have solved as well.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.