Results 1 to 2 of 2

Thread: All Levels Menu Touchscreen Problem

  1. #1
    Join Date
    Aug 2016
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default All Levels Menu Touchscreen Problem

    I'm trying out the latest version of the DD All Levels Menu and noticed an issue with touchscreen laptops. The menu system just doesn't work. This bug can be emulated on Chrome or IE 11 or Edge using the built in emulator for tablets/phones.

    In Chrome, when i click on a menu item to open it up, it just shows the white box without the contents. When i inspect the element, I notice that the visibility changes to hidden on the <ul> submenu item when i click on it.

    In IE11/Edge, the menu item will popup and then immediately close (I'm assuming because the :hover event went away because it's not a mouse). Note: it's tough to test the IE problem in the IE emulator because it doesn't correctly handle touch events. It's still treats it kinda like a mouse.

    My top level menu items look like the following:

    Code:
    <li><a href="javascript:void(0);" rel="ddsubmenu1">Menu Item 1</a></li>

    Alternatively, I've tried the following with no success either:

    Code:
    <li><a href="#" rel="ddsubmenu1">Menu Item 1</a></li>
    I'm also seeing the following error in the console when clicking on these top level entries in all browsers. Not sure if it's related or not:

    Uncaught TypeError: Cannot set property 'visibility' of undefined
    at Object.hidemenu (ddlevelsmenu.js:294)
    at HTMLAnchorElement.<anonymous> (ddlevelsmenu.js:143)

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,373
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Works fine here:

    http://dynamicdrive.com/dynamicindex...menu/index.htm

    There's been a long standing issue with several of the DD menus that, if elements with no sub-menus are given the same class or other attribute(s) as those that have them (often done erroneously for appearance sake, or just in error), unexpected results occur. This may or may not be what's (or part of what's) happening here.

    If you want more help, please post a link to the page on your site that shows the problematic code.
    Last edited by jscheuer1; 02-14-2017 at 03:22 AM. Reason: add info
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Smooth Menu problem on touchscreen devices
    By k1w1boy in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 12-29-2014, 08:27 AM
  2. All Levels Menu Problem in IE 8
    By TritonCollect in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-26-2012, 08:17 PM
  3. All Levels Menu problem in IE7 & IE8
    By maximumovertime in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-17-2009, 04:59 AM
  4. All Levels Menu in iframe: problem
    By molendijk in forum Bug reports
    Replies: 5
    Last Post: 01-19-2009, 11:32 PM
  5. All Levels menu CSS problem
    By silverbob in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-06-2008, 05:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •