Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2894

Navbar supports configurable auto-closing a Nav

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 7.0.6.1
    • Fix Version/s: 8.0.4
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.0.4 S1

      Description

      Requirement description

      The first level of a Navbar is category-only. So if a user is on a specific site, a submenu-entry is highlighted. If the user now clicks on another category, the information, where he/she currently is, is lost until the correct category is opened again. As we like to act like an application and not a website, a breadcrumbs is not a solution, nor is headlines/titles. We just want the navbar to stay open.

      In summary:

      • When selecting a Navitem, a Navbar doesn't close the previously-selected Navitem.

      workaround

      Attached javascript files are workaround.

        Attachments

        1. Nav.js
          1 kB
        2. Navbar.js
          0.7 kB
        3. PortNavbar.java
          1 kB

          Activity

            People

            • Assignee:
              DevChu DevChu
              Reporter:
              hawk hawk
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h