?
Solved

Jquery Mobile Menu(s) Overlap

Posted on 2013-01-02
1
Medium Priority
?
1,151 Views
Last Modified: 2013-01-03
I have an overlap issue with two menus.  The menu in the header with this code -
<div data-role="collapsible" data-mini="true" data-theme="b" data-content-theme="c" style="z-index=999; position: absolute; right: 2px;">
    <h2>Menu</h2>
    <ul data-role="listview">
        <li><a href="index.html">Posh</a></li>
        <li><a href="index.html">Scary</a></li>
        <li><a href="index.html">Sporty</a></li>
        <li><a href="index.html">Baby</a></li>
        <li><a href="index.html">Ginger</a></li>
    </ul>
</div>

Open in new window

When clicked on slides behind the menu button - Sample Page at website - http://test2.dfigdesign.com.  

I'm not sure how to apply z-index to allow the top menu drop over the Sample Page button?

If I add z-index -9999  to the access ul below, the drop down menu will display over the Menu item (Sample Page), but the Sample Menu is lost:
#access ul {
    font-size: 13px;
    list-style: none outside none;
    margin: 0; 
    padding-left: 0;
    z-index: -9999;
}

Open in new window

0
Comment
Question by:danfiggolf
1 Comment
 
LVL 1

Accepted Solution

by:
miraj21285 earned 2000 total points
ID: 38739676
This is a fairly simple solution
you have a typo

<div data-role="collapsible" data-mini="true" data-theme="b" data-content-theme="c" style="z-index=999; position: absolute; right: 2px;"

Open in new window


change the following from
z-index=999;

Open in new window

to
z-index: 999;

Open in new window

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month15 days, 1 hour left to enroll

839 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