Solved

CSS Javascript menus do not work on the iPhone / iPad

Posted on 2011-02-18
1
485 Views
Last Modified: 2012-05-11
Go to this site: http://www.frcds.org/

All works fine with the pulldown navigation menu. At least on the PC and Mac. However, the menus do not expand on the iPhone or iPad. Any suggestions?
0
Comment
Question by:msukow
1 Comment
 
LVL 4

Accepted Solution

by:
LAMASE earned 500 total points
ID: 34930801
The js code that opens the menu is looking for the "mouseover" event, wich obviously cannot be fired on iPhone/iPad.

I suggest you to change script and use jQuery with something like

$('#menuitem1').bind('mouseover, click', function() {
  $('#submenu1').fadeIn();
})

You will need to place the submenu by yourself with css (remember "position: absolute")
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS Header Navigation Not Responsive 4 40
Responsive Font Size 6 45
2 separate CSS animations 2 29
CSS Flex space-between 2 20
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to dynamically set the form action using jQuery.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question