Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<td><table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td><table width="98%" bgcolor="#000000" height="145">
<tr>
<td background="images/footercellpic.gif">Aktuelles</td>
<td background="images/footercellpic.gif"></td>
</tr>
<tr>
<td height="200" bgcolor="#dadada" width="318px" ><img src="images/anzeige1.jpg" alt="d" width="100%" height="100%" class="imagesblog" /></td>
<td height="200" bgcolor="#dadada" width="318.5px"></td>
</tr>
</table></td>
</tr>
</table></td>
<script type="text/javascript">
//<![CDATA[
var bilder = new array(
'bild1.jpg',
'bild2.jpg',
'bild3.jpg'
);
function change(i) {
i = (i > (bilder.length - 1)) ? 0 : i;
document.getElementById('bild').src = bilder[i];
setTimeout('change(' + (i + 1) + ')', 5000); //5000 = Zeit in ms
}
//]]>
</script>
[...]
<img src="bild1.jpg" alt="" />
Steht da "aray" oder "array"? Wenn da ersteres steht musst du es im Code in letzteres ändern.halllo
erstmal danke, leider zeigt der I-net Explorer im Script einen Fehler an, und Firefoxes FehlerKonsole sagt ebenfalls: aray is not difined ...
sry aber ich kenn mich gar net mit Javascript aus ;(
---
noch mal zur andere nFrage gibts kein kostenloses gutes Programm für Flash Animationen?
<script type="text/javascript">
//<![CDATA[
function change(i) {
var bilder = new array(
'bild1.jpg',
'bild2.jpg',
'bild3.jpg'
);
i = (i > (bilder.length - 1)) ? 0 : i;
document.getElementById('bild').src = bilder[i];
setTimeout('change(' + (i + 1) + ')', 5000); //5000 = Zeit in ms
}
//]]>
</script>
[...]
<img src="bild1.jpg" alt="" />
body, html, #navigation, #container, #inhalt {
margin:0;
padding:0;
}
body {
font: 100.01% sans-serif;
background-color: #313131;
text-align: center;
}
#container {
width: 815px;
text-align: left;
margin: 0 auto;
background-color:#4E4E4E;
margin-top: 20px;
}
#kopf {
background-image: url(images/header.jpg);
color: #E6DCCF;
text-align: center;
height: 145px;
}
#navigation {
width: 145px;
float: left;
background-image:url(images/navigationbg.jpg);
color: #fff;
padding: 0px 0 0 5px;
font-size: 13px;
}
#inhalt {
background-color: #dadada;
color: #fff;
margin-left: 150px;
width: 665px;
text-align: center;
display: block;
}
#footer {
width: 100%;
background-image: url(images/footercellpic.gif);
height: 25px;
color: #E6E6E6;
font-weight: bold;
}
p {
margin: 25px 25px 0 25px;
}
h1 {
margin: 0 25px;
padding:25px 0;
font-size: 1.3em;
}
ul {
margin: 0 0px;
padding:3px 0;
font-size: 1em;
}
a:link {
text-decoration:none;
font-weight:none;
color: #FFFFFF;
margin-left: 0px;
}
a:visited {
text-decoration:none;
font-weight:none;
color: #FFFFFF;
margin-left: 0px;}
.inkleineboxschrift {
font-size: 13px;
text-align: left;
}
.erstes {
background-image: url(images/navihead.jpg);
width: 100%;
color: #E6DCCF;
font-weight: bold;
}
[...]
<body>
<div id="container">
<div id="kopf"></div>
<div id="navigation">
<ul>
<a class="erstes" href="index.html">Impressum</a>
</ul>
<hr noshade size="1">
<ul>
<a href="index.html"><b>News</b></a>
</ul>
<ul>
<a href="index.html"><b>Roster</b></a>
<a href="index.html">SmackDown</a>
<a href="index.html">Nitro</a>
</ul>
<ul>
<a href="index.html"><b>Diven</b></a>
</ul>
<ul>
<a href="index.html"><b>Champions</b></a>
<a href="index.html">SmackDown</a>
<a href="index.html">Nitro</a>
</ul>
<ul>
<a href="index.html"><b>PPV</b></a>
<a href="index.html">Next</a>
<a href="index.html">Last</a>
</ul>
</div>
[...]