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

  1. -creynolds-aiec
    Posted 3 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.

    Any help is greatly appreciated.

    ps i found someone talking about this same issue here but there was no resolution.

  2. -creynolds-aiec
    Posted 3 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

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

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


Topic Closed

This topic has been closed to new replies.

About this Topic