Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 963747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:43:05+00:00 2026-05-16T01:43:05+00:00

I’ve been playing around with http://nixboxdesigns.com/projects/jquery-lavalamp/ for a navigation menu on a new site

  • 0

I’ve been playing around with http://nixboxdesigns.com/projects/jquery-lavalamp/ for a navigation menu on a new site I’m building and it works great with minimal fuss, I then started wondering if I could add some sub navigation options to the menu and set about building that in. The trouble I’m having is making the lavaLamp plugin ignore nested/child ul/li’s.

You can see a live example of the issue here: http://www.weleasewodewick.com/redesign2 – hover over the ‘Blog’ li then over the submenu that pops in.

I won’t post the full source for the plugins as it’s pretty lengthy but you should be able to view them directly here:

lavaLamp jQuery Plugin

http://www.weleasewodewick.com/redesign2/includes/jquery.lavalamp.js

Menu Markup

<nav> 
 <article> 
  <ul> 
   <li><a href="#Home" alt="#">Root</a></li> 
   <li><a href="#About" alt="#">Who?</a></li> 
   <li><a href="#Projects" alt="#">Projects</a></li> 
   <li><a href="#Resume" alt="#">Blog</a> 
     <ul class='children'> 
      <li class="page_item page-item-18"><a href="http://localhost/wordpress/?page_id=18" title="History">History</a></li> 
      <li class="page_item page-item-13"><a href="http://localhost/wordpress/?page_id=13" title="Our Company">Our Company</a></li> 
      <li class="page_item page-item-15"><a href="http://localhost/wordpress/?page_id=15" title="Our Staff">Our Staff</a></li> 
     </ul> 
</li> 
    <li><a href="#Resume" alt="#">Contact</a></li> 
   </ul> 
  </article> 
 </nav> 

lavaLamp Activation

$(function() { $('nav>article>ul').lavaLamp(); });

Would really appreciate your input on this issue 🙂

** Purpose **
The final resting place of this mockup is a WordPress template, so the nested structure of the menu mostly needs to remain the same.

Much appreciated
Foxed

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T01:43:06+00:00Added an answer on May 16, 2026 at 1:43 am

    huh, finally I got it work 🙂
    here’s the Demo : http://jsbin.com/uyali3

    It is difficult to achieve this task using <ul> as child node, so I changed it to <div>

    go check out the code yourself =)

    NOTE : Next time when you post a question please be sure, to provide the proper code/HTML. I took me around 45 min to understand your entire code. At last I found a fix to your problem =)

    Code :

        <!DOCTYPE html>
        <html>
        <head>
        <title> cssFix </title>
        <meta charset=utf-8 />
        <style type="text/css">
    
            body { background : #2f2f2f; }
    
             ul  li {
            display:inline;
            float:left;
            list-style-type:none;
            margin-right:10px;
            position:relative;
            z-index:5;
            }
             ul  li.backLava {
            -moz-border-radius :6px;
            background:none repeat scroll 0 0 #009912;
            }
             ul  li a {
            color:#B9B9B9;
            display:block;
            font: bold 14px Arial;
            padding:17px 10px 6px;
            position:relative;
            text-decoration:none;
            text-shadow:0 1px 0 #38302F;
            }
             ul  li  a:hover {
            color:#ff0;
            font-size:14px;
    
            }
            ul  li a:active {
            color:#FFFFFF;
            }
            .children {
            background-color:#333333;
            left:-999em;
            list-style:none outside none;
            min-width:100px;
            position:absolute;
            }
    
            li:hover .children {
            -moz-border-radius:6px 6px 6px 6px;
            background:none repeat scroll 0 0 rgba(0, 0, 0, 0.4);
            left:auto;
            margin:0;
            padding:10px;
            }
        </style>
        </head>
        <body>
            <ul style="position: relative;" class="ulclass">
                <li class="selectedLava"><a alt="#" href="#Home">Root</a></li>
                <li><a alt="#" href="#About">Who?</a></li>
                <li><a alt="#" href="#Projects">Projects</a></li>
                <li>
                    <a alt="#" href="#Resume">Blog</a>
                    <div class="children"> 
                        <span><a href="#">History</a></span> 
                        <span><a href="#">Our Company</a></span> 
                        <span><a href="#">Our Staff</a></span> 
                    </div> 
                </li>
                <li><a alt="#" href="#Resume">Contact</a></li>
            </ul>
    
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" ></script>
       <script type="text/javascript" src="http://www.weleasewodewick.com/redesign2/includes/jquery.lavalamp.js" ></script>
       <script type="text/javascript" >
            $(function() {
                $('ul').lavaLamp();
            });
        </script>
        </body>
        </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.