WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Dropdown menu issue on ios (3 posts)

  1. -creynolds-aiec
    Member
    Posted 2 years ago #

    I am using a modified version of the code twentyten uses for my dropdowns. On an iPad when a parent item is clicked it navigates to said page instead of simply dropping the menu down. I've tried swapping out my code with twentyten's and I am still having this problem.

    What is maddening is that the code works on other sites I have done and I can't figure out what in the world is different.

    Here is the development site.
    http://icl.coopdesignandprint.com

    Any help is greatly appreciated.

    ps i found someone talking about this same issue here but there was no resolution.
    http://wordpress.org/support/topic/theme-constructor-menu-no-longer-working-on-ipadiphone-since-ios-5-update

  2. -creynolds-aiec
    Member
    Posted 2 years ago #

    i fixed it by teaching myself a little jQuery

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    for some reason I couldn't get the userAgent.match for ipad to work so I put it in a php user agent check

    <?php
    	$isiPad = (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPad');
    
    	if(!empty($isiPad)){ // code goes here }
    	?>
  3. -creynolds-aiec
    Member
    Posted 2 years ago #

    Sorry I got moderated above. I'm a noob.

    http://pastebin.com/eAapNLHR

Topic Closed

This topic has been closed to new replies.

About this Topic