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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:07:50+00:00 2026-05-25T06:07:50+00:00

I am using a menu collapsing javascript in my wesite in which when i

  • 0

I am using a menu collapsing javascript in my wesite in which when i click in the title called member the list of members must be shown down the member as accordion.In firefox and chrome it is working quite well but when i tested with IE8 all the members are showing before clicking the member title.Can some one help me is this a browser compatibility issue or something else.Hope i will get the answer soon.

This is the function which is in the js page.
//menu-collapsed.js

<script type="text/javascript">
function initMenu() {
  $('#menu ul').hide();
  $('#menu li a').click(
    function() {
        $(this).next().slideToggle('normal');   
      }
    );
  }
$(document).ready(function() {initMenu();});
</script>

and the html page is:

<html>
<head>
<script src="includes/jquery-1.2.1.min.js" type="text/javascript"></script>
<script src="includes/menu-collapsed.js" type="text/javascript"></script>
 <script type="text/javascript">
//<![CDATA[
var page={};

$(function() {
new FrontPage().init();
});

//]]>
</script>
</head>
<body>
<ul id="menu">  
    <li>
    <?php
        $mvo=new menuVO();
        $mdao=new menuDAO();
        $menus=$mdao->fetchAll('onlypublished');
            foreach($menus as $menu)
            {
                if($menu->menu_type=='Member')
                {
                    echo "<a href=\"#\">$menu->name</a>"; 
                }
            }


        $mvo=new membersVO();
        $mdao=new membersDAO();
        $list=$mdao->fetchAll('onlypublished');
        echo "<ul>";    
            foreach($list as $members)
            {
                echo "<li><span><a href=\"$members->url\">$members->name</a></span></li>";
            }
        echo "</ul>";   
    ?>
        </li>
</ul>
</body>
</html>
  • 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-25T06:07:50+00:00Added an answer on May 25, 2026 at 6:07 am

    Put up your code. You may also find your answer trying to learn how to make one.

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

Sidebar

Related Questions

I'm trying to make a drop down menu using javascript/jquery but can't get my
I have created a menu using CSS and Javascript. When I click on a
I'm trying to put a link called Submit resume in a menu using a
What's the easiest/best way to register your program in explorers right-click menu using .NET
I have navigation menu using images, I want that if the user click a
Does anyone know of a good javascript menu using the prototype library. I need
I am having application in which i am using menu , on tap on
im using jQuery and im trying to create a menu using a list of
I am building a menu using XHTML,CSS, and jQuery and I ran into a
I'm displaying a popup menu using TrackPopupMenu and would like to know when it

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.