Can you assist me with this:
I have a website and I am looking to modify the bg-coler
when hovering over the menu (similar to how it works on the rhcp-website). I attempted using jquery for this, but unfortunately, it did not yield the desired result..
(To clarify, I am not aiming to change the background color of the div container that houses my menu, rather, it should apply to the entire body..--> code)
Appreciate your help!
Here is the code snippet:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
</script>
<script type="text/javascript">
$('.start').hover(function () {
$('html').css('background-color', '#676767')
});
</script>
<?php include_once 'template.php' ?>
<title>Maximilian Braun</title>
</head>
<body>
<div class="start">
<h1>
<a href="actor.php" >Schauspieler</a> - <a href="foto.php">Fotograf</a>
</h1>
</div>
<?php echo footer();?>
</body>