Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
$(document).ready(function () {
/* This code is executed after the DOM has been completely loaded */
var totWidth = 0;
var positions = new Array
$(".slide").width($(window).width()); // Neu
Warum denn 600 Pixel? Dann bleibt doch bei größeren Bildschirmen ein weißer Rand. Geht aber mit Background-Image für das slide-div:waere steinstark, dass jedes fenster einen hintergrund haette, der schwarz ist und eine breite von 600px hat - dachte immer, dass ich das in der css machen könnte
.slide{
float:left;
height:400px;
background:url(../../Users/haui/Documents/Unbenannte%20Site%204/container.jpg);
background-position:center;
background-repeat:no-repeat;
margin-top:10px;
width:10px;
}
.slide_ohne{
float:left;
margin-top:20px;
height:400px;
background:url(../../Users/haui/Documents/Unbenannte%20Site%204/container.jpg);
background-position:center;
background-repeat:no-repeat;
width:10px;
}
<div id="slides">
<div class="slide_ohne" ><span class="rosa" >Willkommen</span></div>
<div class="slide">Hallo Welt1</div>
<div class="slide">Hallo Welt2</div>
<div class="slide">Hallo Welt3</div>
</div>
Was meinst Du damit?dann fliegt mir die ganze seite um die ohren
.rosa {color:#FFF;
margin-top:20px;
height:400px;
background:url(../../Users/haui/Documents/Unbenannte%20Site%204/container.jpg);
background-position:center;
background-repeat:no-repeat;
width:600px;
/** Alle anderen Browser **/
min-width:600px;
width:auto !important;
/** Internet Explorer **/
width:600px;}
<div class="slide" ><span class="rosa" style="width:600px; height:500px">Willkommen</span></div>
<li class="fbar"> </li>
.fbar{
/* The left-most vertical bar, next to the first thumbnail */
width:2px;
background:url(img/divider.png) no-repeat right;
}
li a{
display:block;
background:url(img/divider.png) no-repeat right;
height:35px;
padding-top:10px;
}