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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:23:11+00:00 2026-06-15T13:23:11+00:00

I want that the content goes to 50% when I hover over the menu

  • 0

I want that the content goes to 50% when I hover over the menu bar. For whatever reasons I don’t get it done. I get it doen on a testing page where I just have 2 divs. As soon as I have more divs it does not work. Why not???
The page I am referring to is http://www.guntmarwolff.com/eigenschaftenv.php

Thank you in advance for your help!

    $(document).ready(function(){

      $("Layer5").mouseover(function(){
          $("header1").fadeTo('slow', 0.5);
      });

      $("Layer5").mouseout(function(){
          $("header1").fadeTo('slow', 1);
      });
  });

</script>


<div id="Layer5">
    <div style="position:relative; top:125px; left:480px; font-size:50px; z-index:1000;"><ul class="topmenu" id="css3menu1" name="css3menu1">
    <li class="topfirst"><a href="http://www.xy.com" style="height:26px;line-height:26px;">Home</a></li>
    <li class="topmenu"><a href="#" style="height:26px;line-height:26px;"><span>Info</span></a>


<div id="container1">
<div id="header1" class="header1">
  <div class="navbar1" style="position:relative;top:0px;left:-40px;z-index:1200px; id="about"><img src="headeigenschaftendeserfolgs.png" border="0"/></div>
  <p>
<p>

  • 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-15T13:23:12+00:00Added an answer on June 15, 2026 at 1:23 pm

    For a start, Id’s have a hash preceding their name:

    id=”Layer5″

    css

    #Layer5 {} 
    

    js (jquery)

    $("#Layer5");
    

    That fixed, you should sort your html.
    This works for me:

     $(document).ready(function(){
    
      $("#Layer5 li a").hover( function() {
           console.log("in");
          $("#header1").fadeTo('slow', 0.5);
          }, 
      function () {
          console.log("out");
          $("#header1").fadeTo('slow', 1);
    });
    

    });

    <div id="Layer5">
    <div style="position:relative; top: 0px; left:80px; font-size:50px; z-index:1000;">
        <ul class="topmenu" id="css3menu1" name="css3menu1">
            <li class="topfirst"><a href="http://www.xy.com" style="height:26px;line-height:26px;">Home</a></li>
            <li class="topmenu"><a href="#" style="height:26px;line-height:26px;"><span>Info</span></a></li>
        </ul>
    </div>
    

    All my content

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

Sidebar

Related Questions

I have a menu that changes and I want to show content in the
I have some content that I want to appear on multiple pages of my
I'm using css to hide content that I want to reveal when a person
I want to parse a html content that have something like this: <div id=sometext>Lorem<br>
I want to recreate the following header: The problem is that the content is
I have blocks of content that are toggled on/off via jQuery and I want
I have a content string that starts with an unordered list I want to
I am writing a chrome extension that is a 'content script' I want to
I have a bunch of items (text, image, mixed content, etc) that I want
i want to translate user entered english content to hindi language.So, for that whenever

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.