Sie sind auf Seite 1von 5

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.

2 Final//EN">
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>

body {
margin: 0;
padding: 0;
}

.logo {
float: left;
height: 70px;
width: 100px;
}
/* ~~ Top Navigation Bar ~~ */

#navigation-container {
width: 1100px;
margin: 0 auto;
height: 70px;
}

.navigation-bar {
background-color: #352d2f;
height: 70px;
width: 100%;
}

#navigation-container img {
float: left;
}

#navigation-container ul {
padding: 0px;
margin: 0px;
text-align: center;
display:inline-block;
}
#navigation-container ul li{
padding: 0px;
margin: 0px;
text-align: center;
display:inline-block;
}
#navigation-container li ul li{
padding: 0px;
margin: 0px;
text-align: center;
display:inline-block;
}
#navigation-container li {
list-style-type: none;
padding: 0px;
height: 24px;
margin-top: 4px;
margin-bottom: 4px;
display: inline;
}

#navigation-container li a {
color: white;
font-size: 16px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
text-decoration: none;
line-height: 70px;
padding: 5px 15px;
opacity: 0.7;
}

marquee{
text-shadow: #FC0 1px 0 10px;
text-height: 30px;
text-decoration-style: double;
}

#menu {
float: right;
}
marquee{
size: 20px;
height: 30px;
}
* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
max-width: 1100px;
position: relative;
margin: auto;
height: 50px;
}

/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* Number text (1/3 etc) */


.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}

/* The dots/bullets/indicators */
.dot {
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active {
background-color: #717171;
}

/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

/* On smaller screens, decrease text size */


@media only screen and (max-width: 300px) {
.text {font-size: 11px}
}
</style>

</head>
<body>
<div id="marquee" style="width:100%; height: 50px;">
<marquee><b><i>Question Paper Generator</i></b></marquee>
</div>
<div id="navigation-container">
<nav class="navigation-bar">
<img class="logo" src="question.png">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Add Details</a>
<ul>
<li><a href="#">Admin Login</a></li>
<li><a href="#">Teacher Login</a></li>
</ul>
</li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>

</ul>
</nav>
</div><br>
<div class="slideshow-container">

<div class="mySlides fade">


<div class="numbertext">1 / 3</div>
<img src="bg1.jpg" style="width:100%; height:300px;">
<div class="text">Caption Text</div>
</div>

<div class="mySlides fade">


<div class="numbertext">2 / 3</div>
<img src="bg2.jpg" style="width:100%;height:300px;">
<div class="text">Caption Two</div>
</div>

<div class="mySlides fade">


<div class="numbertext">3 / 3</div>
<img src="bg1.jpg" style="width:100%; height:300px;">
<div class="text">Caption Three</div>
</div>

</div>
<br>

<div style="text-align:center">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
<script>
var slideIndex = 0;
showSlides();

function showSlides() {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
slideIndex++;
if (slideIndex > slides.length) {slideIndex = 1}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
setTimeout(showSlides, 2000); // Change image every 2 seconds
}
</script>
</body>
</html>

Das könnte Ihnen auch gefallen