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.
<html>
<head>
<title>Titel</title>
<style type="text/css">
.norm {font-family:verdana; color:#000000;font-size:10pt;text-decoration:none}
.grau {font-family:verdana; color:#626262;font-size:8pt;text-decoration:none}
.link {font-family:verdana; color:#626262;font-size:8pt; text-decoration:none}
a:visited {font-family:verdana; color:#626262;font-size:8pt; text-decoration:none}
a:active {font-family:verdana; color:#626262;font-size:8pt; text-decoration:none}
a:hover {font-family:verdana; color:#626262;font-size:8pt;text-decoration:none}
#menu li {
list-style-type:none;
margin:0 0 0.25em 0; /* ADDED */
}
#menu a, #menu a:visited {
display:block;
width:9em;
font-family:verdana, sans-serif;
font-size:14px;
text-align:left;
text-decoration:none;
color:#ffffff;
padding:0.25em; /* ADDED */
}
#menu a:hover {
background:#94141b;
color:#929292;
}
#text {
display:block;
width:350px;
margin-left:25px;
margin-top:20px;
font-family:verdana, sans-serif;
font-size:12px;
text-align:justify;
text-decoration:none;
color:#626262;
padding:0.25em; /* ADDED */
}
#text_head {
display:block;
width:350px;
margin-top:50px;
font-family:verdana, sans-serif;
font-size:14px;
font-weight: bold;
text-align:center;
text-decoration:none;
color:#000000;
padding:0.25em; /* ADDED */
}
#wrapper{
position: relative;
}
#slide_photobox, #slide_textbox, #fade_menu{
position: absolute;
display: none;
top:50px;
}
#fade_menu{
z-index: 3;
}
#slide_textbox{
z-index: 2;
}
#slide_photobox,{
z-index: 1;
}
div.menubox
{
width:271px;
height:550px;
margin:0px;
background-color:#94141b;
}
div.textbox
{
width:400px;
height:550px;
margin:0px 271px;
background-color:#ffffff;
filter:alpha(opacity=80);
opacity:0.8;
}
div.photobox
{
width:1250px;
height:550px;
margin:0px 271px;
}
</style>
<script src="includes/SpryEffects.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function(){
slide_horizphoto = new Spry.Effect.Slide('slide_photobox', {duration:1250, horizontal: true, from:'0%', to:'100%', toggle: true});
slide_horiz = new Spry.Effect.Slide('slide_textbox', {horizontal: true, from:'0%', to:'100%', toggle: true});
fadeElement = new Spry.Effect.Fade("fade_menu", {duration:500, from:'0%', to:'100%', toggle:true});
fadeElement.start();
setTimeout(function(){
slide_horizphoto.start();
}, 750);
setTimeout(function(){
slide_horiz.start();
}, 500);
};
</script>
<link rel="stylesheet" href="layout.css" >
</head>
<body bgcolor="#333333" style="overflow-y:hidden;overflow-x:hidden">
<div class="wrapper">
<div id="fade_menu">
<div class="menubox">
<img src="name.jpg" width="270">
<ul id="menu">
<li><a href="#nogo">Kontakt</a></li>
</ul>
<br>
<br>
<img src="haus.jpg" width="270">
</div>
</div>
<div id="slide_textbox">
<div class="textbox">
<font id="text_head">
Kontakt
</font>
<font id="text">
</font>
</div>
</div>
<div id="slide_photobox">
<div class="photobox">
<img src="test3.jpg">
</div>
</div>
<div class="push"></div>
</div>
<div class="footer" align="center" >
<font class="grau">beispiel</font><br />
<a href="impressum.html" class="grau">Impressum</a>
</div>
</body>
</html>
<li><a href="#nogo" onClick="setTimeout(function(){slide_horizphoto.start();},250);slide_horiz.start();">Speisen & Weine</a></li>
function collaps_all(){
if slide_horiz.width = 100%;
slide_horiz.start();
};
<script type="text/javascript">
function collaps_all(){
if slide_horiz = (slide_horiz.to == '100%');
slide_horiz.start();
}
</script>
<li><a href="" onClick="collaps_all();">Speisen & Weine</a></li>
<html>
<head>
<title>Titel</title>
<style type="text/css">
.norm {font-family:verdana; color:#000000;font-size:10pt;text-decoration:none}
.grau {font-family:verdana; color:#626262;font-size:8pt;text-decoration:none}
.link {font-family:verdana; color:#626262;font-size:8pt; text-decoration:none}
a:visited {font-family:verdana; color:#626262;font-size:8pt; text-decoration:none}
a:active {font-family:verdana; color:#626262;font-size:8pt; text-decoration:none}
a:hover {font-family:verdana; color:#626262;font-size:8pt;text-decoration:none}
#menu li {
list-style-type:none;
margin:0 0 0.25em 0; /* ADDED */
}
#menu a, #menu a:visited {
display:block;
width:9em;
font-family:verdana, sans-serif;
font-size:14px;
text-align:left;
text-decoration:none;
color:#ffffff;
padding:0.25em; /* ADDED */
}
#menu a:hover {
background:#94141b;
color:#929292;
}
#text {
display:block;
width:350px;
margin-left:25px;
margin-top:20px;
font-family:verdana, sans-serif;
font-size:12px;
text-align:justify;
text-decoration:none;
color:#626262;
padding:0.25em; /* ADDED */
}
#text_head {
display:block;
width:350px;
margin-top:50px;
font-family:verdana, sans-serif;
font-size:14px;
font-weight: bold;
text-align:center;
text-decoration:none;
color:#000000;
padding:0.25em; /* ADDED */
}
#wrapper{
position: relative;
}
#slide_photobox, #slide_textbox, #fade_menu, #slide_next{
position: absolute;
display: none;
top:50px;
}
#fade_menu{
z-index: 3;
}
#slide_textbox{
z-index: 2;
}
#slide_photobox,{
z-index: 1;
}
div.menubox
{
width:271px;
height:550px;
margin:0px;
background-color:#94141b;
}
div.textbox
{
width:400px;
height:550px;
margin:0px 271px;
background-color:#ffffff;
filter:alpha(opacity=80);
opacity:0.8;
}
div.photobox
{
width:1250px;
height:550px;
margin:0px 271px;
}
</style>
<script src="include/SpryEffects.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function(){
slide_horizphoto = new Spry.Effect.Slide('slide_photobox', {duration:1250, horizontal: true, from:'0%', to:'100%', toggle: true});
slide_horiz = new Spry.Effect.Slide('slide_textbox', {horizontal: true, from:'0%', to:'100%', toggle: true});
slide_next = new Spry.Effect.Slide('slide_next', {horizontal: true, from:'0%', to:'100%', toggle: true});
fadeElement = new Spry.Effect.Fade("fade_menu", {duration:500, from:'0%', to:'100%', toggle:true});
// Array mit "Slide-Variablen"
arrSlides = [
slide_horizphoto,
slide_horiz,
slide_next
];
fadeElement.start();
setTimeout(function(){
slide_horizphoto.start();
}, 750);
setTimeout(function(){
slide_horiz.start();
}, 500);
};
// Funktion zum Kontrollieren der Slider
function slideCtrl(objActive){
// Array mit "Slide-Variablen" durchlaufen
for(var i=0; i<arrSlides.length; i++){
// Falls es sich nicht um die aktuelle Variable handelt und der Slider geöffnet ist
if((arrSlides[i]!=objActive) && (arrSlides[i].direction == 1)){
// Slider schliessen
arrSlides[i].start();
}
}
// Aktuell übergebenen Slider toggeln
objActive.start();
}
</script>
<link rel="stylesheet" href="layout.css" >
</head>
<body bgcolor="#333333" style="overflow-y:hidden; overflow-x:hidden">
<div class="wrapper">
<div id="fade_menu">
<div class="menubox">
<img src="bild.jpg" width="270">
<ul id="menu">
<li><a href="#nogo" onclick="slideCtrl(slide_horiz);">Kontakt</a></li>
<li><a href="#nogo" onclick="slideCtrl(slide_next);">Next</a></li>
</ul>
<br>
<br>
<img src="bild.jpg" width="270">
</div>
</div>
<div id="slide_textbox">
<div class="textbox">
<font id="text_head">
Kontakt
</font>
<font id="text">
</font>
</div>
</div>
<div id="slide_photobox">
<div class="photobox">
SLIDE_PHOTOBOX
</div>
</div>
<div class="push"></div>
</div>
<div id="slide_next">
<div class="photobox">
NEXT
</div>
</div>
<div class="push"></div>
</div>
<div class="footer" align="center" >
<font class="grau">beispiel</font><br />
<a href="../bilder/zahnrad_140x120.jpg" class="grau">Impressum</a>
</div>
</body>
</html>