Support » Plugins » Hacks » Jquery dropdowns not functioning on touch device

  • Hi I have created a homepage that allows has 5 jquery jump menus as quick links on it using a simple method found here:

    This works great until it comes to touch devices where the links are not actioned.

    I have tried to impliment CSS drop downs instead based on the suckerfish system but again on the iphone / ipad in particular it is just displaying an unordered list and not a drop down.

    If anyone can help suggest a fix / work around or plugin that will allow me to replace these within the body content it would be massively appreciated.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz


    You could use wp_is_mobile() in an if/else structure to output a simple list of links for all mobile devices. Your existing code is output for non-mobile devices.

    Crude and heavy handed, but it will work. Unfortunately there is not a simple way for PHP to know if a device works on touch, so the crude link list will be sent to all mobile devices, touch or not.

    You can manipulate the layout of the menus by using media queries in the CSS file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jquery dropdowns not functioning on touch device’ is closed to new replies.