Nav 2.0
This commit is contained in:
57
index.php
57
index.php
@@ -16,61 +16,26 @@ if ($tab == "") {$tab = "home";}
|
||||
<link rel="stylesheet" type="text/css" href="main/min-style.css">
|
||||
<script src="main/lightbox-plus-jquery.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="main/lightbox.min.css">
|
||||
</head>
|
||||
<script src="main/nav2.js"></script>
|
||||
</head>
|
||||
|
||||
<header>
|
||||
<!--header>
|
||||
|
||||
|
||||
|
||||
<h1>
|
||||
Mellys Weihnachts Kalender
|
||||
</h1>
|
||||
</header>
|
||||
<h1>
|
||||
Mellys Weihnachts Kalender
|
||||
</h1>
|
||||
</header-->
|
||||
|
||||
<!-- mobil sass--->
|
||||
<input class="side-menu" type="checkbox" id="side-menu"/>
|
||||
<label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
|
||||
<!-- mobil sass ende --->
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="?tab=home" <?php if ($tab == "home")?>>Home</a></li>
|
||||
<li><a href="?tab=galerie" <?php if ($tab == "galerie")?>>Galerie</a></li>
|
||||
<li><a href="?tab=radio" <?php if ($tab == "radio")?>>Musik</a></li>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="mainMenu"><a href="#">Test</a>
|
||||
<ul class="submenu">
|
||||
<li><a href="#">Spiel</a></li>
|
||||
<li><a href="#">Rang</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="mainMenu"><a href="#">Test2</a>
|
||||
<ul class="submenu">
|
||||
<li><a href="#">Spiel</a></li>
|
||||
<li><a href="#">Rang</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php include('tab/nav2.php');?>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(".mainMenu > a").mouseover(function(){
|
||||
$(this).siblings().addClass('submenuActive');
|
||||
})
|
||||
$(".mainMenu").mouseleave(function(){
|
||||
$(this).children().removeClass('submenuActive')
|
||||
})
|
||||
</script>
|
||||
<body>
|
||||
|
||||
|
||||
<article>
|
||||
|
||||
<article>
|
||||
<?php include('tab/'.$tab.'.php');?>
|
||||
|
||||
<?php include('tab/'.$tab.'.php');?>
|
||||
|
||||
</article>
|
||||
</article>
|
||||
|
||||
<footer>
|
||||
<img src="./inc/bg/1605110464788.png"></img>
|
||||
|
||||
Reference in New Issue
Block a user