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 9011415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:43:27+00:00 2026-06-16T02:43:27+00:00

<ul id=menu> <li><a href=#>menu 1</a> <ul> <li><a href=#>menu 1i</a> <ul> <li><a href=#>menu 1i i</a></li>

  • 0
<ul id="menu">
  <li><a href="#">menu 1</a>
    <ul>
      <li><a href="#">menu 1i</a>
        <ul>
            <li><a href="#">menu 1i i</a></li>
            <li><a href="#">menu 1i ii</a></li>
        </ul>
      </li>
      <li><a href="#">menu 1ii</a>
        <ul>
            <li><a href="#">menu 1ii i</a></li>
        </ul>
      </li>
    </ul>
  </li>
  <li><a href="#">menu 2</a>
    <ul>
      <li><a href="#">menu 1i</a>
        <ul>
            <li><a href="#">menu 1i i</a></li>
            <li><a href="#">menu 1i ii</a></li>
        </ul>
      </li>
      <li><a href="#">menu 1ii</a>
        <ul>
            <li><a href="#">menu 1i i</a></li>
            <li><a href="#">menu 1i ii</a></li>
        </ul>
      </li>
    </ul>
  </li>    
  <li><a href="#">menu 3</a>
    <ul>
      <li><a href="#">menu 1i</a>
        <ul>
          <li><a href="#">menu 1i i</a></li>
        </ul>
      </li>
      <li><a href="#">menu 1ii</a>
        <ul>
            <li><a href="#">menu 1i i</a></li>
        </ul>
      </li>
    </ul>      
  </li>
</ul>

$(document).ready(function($){
    $('#menu').mobileMenu({
            saveState       : true,
            easing          : 'easeOutCirc'
    }); 
});

//  inside the plugin
return this.each(function (options) {
    var $dcDrilldownObj = this;
...

// Get height of largest sub menu
var objUl = $('ul', $dcDrilldownObj);
var maxItems = methods.findMaxHeight(objUl);

Above code is belongs to jquery menu plugin, HTML, and initiate the plugin, then inside get the object to veriable.

Here I have a doubt what is the meaning of

var objUl = $(‘ul’, $dcDrilldownObj);

Could you please someone brief me.

  • 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-06-16T02:43:28+00:00Added an answer on June 16, 2026 at 2:43 am

    Second argument in jQuery $() function means a “context” part (i.e. where to search). In your example you select all <ul> elements inside $dcDrilldownObj.

    You can easily replace it with:

    var objUl = $($dcDrilldownObj).find("ul");
    

    You can read about jQuery() function here: http://api.jquery.com/jQuery/#jQuery1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the code: $(document).ready(function(){ $(.menu ul li a).click( function(){ curpage = $(this).attr('href'); loadpage(curpage); });
$(document).ready(function(){ $(#menu ul).children('li').each(function(){ var href = $(this).find('a').attr('href'); var wpl = window.location.pathname; if( href.indexOf(wpl) !=
I have the following jquery script: $(function(){ $('#top-menu').on('click', 'a.change-menu', function(e){ e.preventDefault() $(#menu-change-div).load($(this).attr(href)); }); });
I am successfully loading content through the use of jQuery(.menu li a).click( function(event){ jQuery(#loadingArea).load(this.href)
I have a jQuery menu that is represented with these paramaters: <script type=text/javascript> jQuery(document).ready(function(){
jQuery(#menu li a).click(function(){ var page_url = jQuery(this).attr(href) jQuery(.wide_main).html(<p>loading...</p>); jQuery(.wide_main).load( page_url + '#main_content'); }); I
In my site i built a textual menu as menu.html inside iframe.each href i
I have this if( window.location.href == http://localhost:3000/categories) { $(#container ul #all_categories a.categories-menu).css(font-weight,bold); } });
I'm facing a trouble with my href which is listed inside yui menu. Here
I have the following in a plug-in script: $(#menu) .on('click','a[href^=/Test]',function(event){ event.preventDefault(); var href =

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.