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

  • Home
  • SEARCH
  • 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 705801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:05:39+00:00 2026-05-14T04:05:39+00:00

<!DOCTYPE html> <html lang=en> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8> <script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js type=text/javascript></script> <script type=text/javascript>

  • 0
 <!DOCTYPE html>
 <html lang="en">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>

   <script type="text/javascript">
     $(function(){
        $('div#menu div')
        .bind('mouseover',function(event){
            popHelp(this);
            })
         .bind('mouseout',function(event){
            clearHelp();
         })
         .toggle(
            function(event){$('#menu div a').not(this).css('opacity',1);$(event.target).css('opacity',0.4)},
            function(event){$(event.target).css('opacity',1)}
            )
        $('div.item').not('#mainPage')
        .hide()
        $('#customerManagement').click(function(event){
               $('.item').hide('slow');
               $('#customerManagementCon').toggle('slow');
               return false;
           })
        $('#userManagement').click(function(){
            $('.item').hide('slow');
            $('#userManagementCon').toggle('slow');
            return false;
           })
         $('#storageManagement').click(function(){
            $('.item').hide('slow');
            $('#storageManagementCon').toggle('slow');
            return false;
           })
         $('#searchManagement').click(function(){
            $('.item').hide('slow');
            $('#searchManagementCon').toggle('slow');
            return false;
           })  
         $('#signOff').click(function(){
            $('.item').hide('slow');
            $('#signOffCon').toggle('slow');
            return false;
           })  
     }
     );

     function popHelp(ref){
        var text;
        if(ref.id=="customerManagement")
            text="click here for customer management";
        else if(ref.id=="userManagement")
            text="click here for user management";
        else if(ref.id=="storageManagement")
            text="click here for storage management";
        else if(ref.id=="searchManagement")
            text="search management";
        else if(ref.id=="signOff")
            text="click here to sign off";
        $('#helpConsole').append('<div class="help">'+text+'<div>');
      }
     function clearHelp(){
        $('#helpConsole > div').remove();
     }

   </script>
   <style type="text/css" >
       #helpConsole
       {
           background-color:Aqua;
           margin-left:500px;
           width:300px;
           height:100px;
           outline-width:medium;
       }
   </style>
 </head>
 <body>
   <div id="menu">
   <table border="2">
       <thead>
        <tr>                              
            <th colspan="5">Welcome $Employee Name</th>
         </tr>
        </thead>
        <tbody>
           <tr>
               <td><div id="customerManagement" class="menuItem"><a>Customer Management</a></div></td>
                <td><div id="userManagement" class="menuItem"><a>User Management</a></div></td>
               <td><div id="storageManagement" class="menuItem"><a>Storage Management</a></div></td>
               <td><div id="searchManagement" class="menuItem"><a>Search Management</a></div></td>
               <td><div id="signOff" class="menuItem"><a>Sign Off</a></div></td>
            </tr>
        </tbody>
   </table>
 </div>
 <div id="helpConsole"><h3>help</h3></div>
 <div id="mainPage" class="item"><h1>Storage Service</h1></div>
 <div id="customerManagementCon"  class="item">
     <h3>Customer Management</h3>
    </div>
    <div id="userManagementCon"  class="item">
     <h3>User Management</h3>
    </div>
    <div id="storageManagementCon"  class="item">
     <h3>Storage Management</h3>
    </div>
     <div id="searchManagementCon"  class="item">
     <h3>Search Mangement</h3>
    </div>
    <div id="signOffCon"  class="item">
     <h3>Sign Off</h3>
    </div>
 <div id="menuItemCon" class="item">menuItem</div>
 </body>

The toggle function in this code is not working as expected though it shows the #menu items when clicked it doesn’t hide them always .

  • 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-14T04:05:40+00:00Added an answer on May 14, 2026 at 4:05 am

    You are fading the <div> out but referencing the <a> on the toggle, you need to fade the <div> back in, like this:

    This: $('#menu div a').not(this)
    Needs to be: $('#menu div').not(this)

    This will bring the correct faded elements back like you want.
    Here’s an updated sample with some other tweaks to slim it down as well.

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

Sidebar

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.