SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2005
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    javascript or CSS? (a z-index-ish kind of problem)

    Hi!
    I am trying to have dropdown menu living side by side with a sortable table. Both are there thanks to javasript (Superfish (Suckerfish) and Datatables (jquery).

    The dropdown menue seems to work fine Not Quite until you go to view the memberslist. Try navigating the submenues once you reached the memberslist and you'll find that the members table stays on top all the time.

    I have been trying to scan the stylesheets for z-indexes, and there are some from the Pirobox-part of the CSS but I doupt that is interfering.

    The site runs on an install of ExpressionEngine v2.1.4

    Anyone have a clue on whats going on here?

    /David

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    In your CSS find #nav ul ul and add

    Code CSS:
    z-index: 5000;

    Once you have done that your sub navigation menus should appear on top.
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle

  3. #3
    SitePoint Member
    Join Date
    Jul 2005
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SgtLegend View Post
    In your CSS find #nav ul ul and add

    Code CSS:
    z-index: 5000;

    Once you have done that your sub navigation menus should appear on top.
    ...and they do!

    Thanks!
    I really thought I looked there but I quckly get very blind looking at code....

    Thanks again!

    /David


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •