Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
<div id="first">
1st
</div>
<!-- zuerst unsichtbar -->
<div id="secound" style="display: none;">
2nd
</div>
<!-- zuerst unsichtbar -->
<div id="third" style="display: none;">
3rd
</div>?????????
// first deckt bei mouseover secound auf
$('#first').mouseover(function() {
$('#secound').css('display', 'block');
});
// secound deckt bei mouseover third auf
$('#secound').mouseover(function() {
$('#third').css('display', 'block');
});
/* nur zur verschönerung */
div{
background-color: #E5E5E5;
padding: 5px;
margin: 15px;
border: solid 3px orange;
color: purple;
font-weight: bold;
font-family: Arial;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
/* nur zur verschönerung */
div{
background-color: #E5E5E5;
padding: 5px;
margin: 15px;
border: solid 3px orange;
color: purple;
font-weight: bold;
font-family: Arial;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
// first deckt bei mouseover secound auf
$('#first').mouseover(function() {
$('#secound').css('display', 'block');
});
// secound deckt bei mouseover third auf
$('#secound').mouseover(function() {
$('#third').css('display', 'block');
});
</script>
</head>
<body>
<div id="first">
1st
</div>
<!-- zuerst unsichtbar -->
<div id="secound" style="display: none;">
2nd
</div>
<!-- zuerst unsichtbar -->
<div id="third" style="display: none;">
3rd
</div>
</body>
</html>
$(document).ready(function() {
// first deckt bei mouseover secound auf
$('#first').mouseover(function() {
$('#secound').css('display', 'block');
});
// secound deckt bei mouseover third auf
$('#secound').mouseover(function() {
$('#third').css('display', 'block');
});
});
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
/* nur zur verschönerung */
div{
background-color: #E5E5E5;
padding: 5px;
margin: 15px;
border: solid 3px orange;
color: purple;
font-weight: bold;
font-family: Arial;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Mouseover</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// first deckt bei mouseover secound auf
$('#first').mouseover(function() {
$('#secound').css('display', 'block');
});
// secound deckt bei mouseover third auf
$('#secound').mouseover(function() {
$('#third').css('display', 'block');
});
$('#secound').mouseout(function() {
$('#third').css('display', 'none');
});
});
</script>
</head>
<body>
<div id="first">
1st
</div>
<!-- zuerst unsichtbar -->
<div id="secound" style="display: none;">
2nd
</div>
<!-- zuerst unsichtbar -->
<div id="third" style="display: none;">
3rd
</div>
</body>
</html>