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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:37:36+00:00 2026-06-10T05:37:36+00:00

I wouldn’t ask stackoverflow unless this was a serious problem. I simply cannot figure

  • 0

I wouldn’t ask stackoverflow unless this was a serious problem. I simply cannot figure out how to debug this particular problem. A left navigation unordered list element is being injected with an inline display attribute. I can’t figure out what js code is doing this.

There is a file in js/custom.js that if I remove the file, the effect does not happen. So I assume its in there. I tried grepping for .attr, .hide, .css etc etc but nothing comes up that points to the ul element who’s display effect I am trying to track down. I greped the php files for instances where it echo’s or prints elements and nothing there either. I used firebug and firequery but nothing that is apparent comes up after inspecting the element. I tried breakpoints for attribute changes in chrome tools.

I suspect the answer would be in the DOM inspector but its mystified for me. I’m going to need to read up on the DOM tree views for firefox and chrome tools. But in the meantime can anyone give me a clue as to what is giving the ul elements with the class subs, in this page, their display property?

  • 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-10T05:37:37+00:00Added an answer on June 10, 2026 at 5:37 am

    Have you tried Google Chrome Developer tools, to see if the CSS is what is hiding the element you are looking at?

    Simply click on the element in the Chrome Browser, and select Inspect Element, then see what CSS properties are available.

    Ultimately, what leaded me to this was, that I clicked on certain text, to open up the li’s below. Then I search for the text, when I inspected the element, and found the anchor tag there with the text in it. I then assumed that the anchor had to be the culprit, and searched for its relate classname “exp”, and found the js file that contained the function.

    I looked at custom.js in crown/js folder, and found the following:

    $('.exp').collapsible({
            defaultOpen: 'current',
            cookieName: 'navAct',
            cssOpen: 'active',
            cssClose: 'inactive',
            speed: 200
        });
    

    The Li has an anchor element in it, with class of “exp”

    <li class="forms"><a href="#" title="" class="exp"><span>Forms stuff</span><strong>4</strong></a>
                <ul class="sub" style="display: none; ">
                    <li><a href="forms.html" title="">Form elements</a></li>
                    <li><a href="form_validation.html" title="">Validation</a></li>
                    <li><a href="form_editor.html" title="">WYSIWYG and file uploader</a></li>
                    <li class="last"><a href="form_wizards.html" title="">Wizards</a></li>
                </ul>
            </li>
    

    When clicked on this a tag, it gets another class called “active”, and jQuery then injects the display code:

    <li class="forms"><a href="#" title="" class="exp active"><span>Forms stuff</span><strong>4</strong></a>
                <ul class="sub" style="display: block; ">
                    <li><a href="forms.html" title="">Form elements</a></li>
                    <li><a href="form_validation.html" title="">Validation</a></li>
                    <li><a href="form_editor.html" title="">WYSIWYG and file uploader</a></li>
                    <li class="last"><a href="form_wizards.html" title="">Wizards</a></li>
                </ul>
            </li>
    

    The CSS then handles the rest.

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

Sidebar

Related Questions

I wouldn't ask this here unless I had exhausted the Tomcat reference guide and
I wouldn't be suprised if this turned out to be a BIDS function rather
So I wouldn't be stupid enough to ask this in general, but here's the
I thought I wouldn't need to ask this but I am not having any
Why wouldn't MySQL have this feature? INSERT INTO abc (a) VALUES ('bla') ON DUPLICATE
I have a problem: (I wouldn't be here otherwise ;) I am creating an
I assume because the CLR this wouldn't be an issue?
Why wouldn't DoesntWork() work below? The error is: Cannot implicitly convert type 'List' to
I wouldn't ask if i wasn't sure that i have 100% no idea why
I wouldn't expect so. Is there anything to point out?

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.