Solved

CSS Javascript menus do not work on the iPhone / iPad

Posted on 2011-02-18
1
480 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
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 customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now