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.
<html>
<head>
<title>DOM-Test</title>
<style type="text/css">
#bild {
position: absolute;
top: 80px;
left: 10px;
clip: rect(0px 0px 0px 0px);
}
</style>
<script language="JavaScript">
var bild1;
var breite=0;
var hoehe=0;
var schritte=100;
var num=0;
function init() {
bild1 = document.getElementById("bild");
var bildObj = document.getElementById("b1");
stepX = bildObj.width/schritte;
stepY = bildObj.height/schritte;
bereichVeraendern();
}
function bereichVeraendern() {
breite = breite+stepX;
hoehe = hoehe+stepY;
bild1.style.clip =
"rect(0px " + Math.round(breite) + "px " + Math.round(hoehe) + "px 0px)";
num++;
if (num < schritte) {
setTimeout("bereichVeraendern()", 50);
} else {
bild1.style.clip = "rect(auto auto auto auto)";
}
}
</script>
</head>
<body >
<img src="Style/ButtonDS.jpg" width="240" height="67" border="0" alt=""
onmouseover="javascript:init()">
<div id="bild">
<img src="Style/HG_ASS2.jpg" name="b1">
</div>
</body>
<body >
<img src="Style/ButtonDS.jpg" width="240" height="67" border="0" alt=""
onmouseover="javascript:init()">
<div id="bild">
<table id="b1">
<colgroup>
<col width="640">
</colgroup>
<tr>
<td style="background-image:url(Style/HG_T6.png);margin-left:20px;font-size:120%;"
valign="top">
<p style="margin:30px;color:#c3ee15;font-weight:bold;">Titel</p></td>
</tr>
</table>
</div>
</body>