Folgen Sie dem Video unten, um zu sehen, wie Sie unsere Website als Icon auf Ihrem Homescreen erstellen.
Anmerkung: This feature may not be available in some browsers.
document.getElementByID('id_des_divcontainers').style.left = 50px;
<html>
<head>
<title>Dynamic CSS Properties</title>
<style type="text/css">
#box1
{
position: absolute;
top: 20px;
left: 50px;
width: 200px;
border: solid #ff0000 3px;
background-color: #ffff00;
color: #000000;
padding: 10px;
}
</style>
<script language="JavaScript">
function change()
{
document.getElementById("box1").style.top = "200px";
}
</script>
</head>
<body>
<div id="box1" onMouseOver="change()">
<h3>ajshfkjdhfs</h3>
</div>
</body>
</html>
9fj schrieb:hm ja danke. was macht das script jetzt genau?
Java != JavaScript9fj schrieb:haja cool danke. was anderes. gibts ne gute seite um java zu lernen? bei selfhtml find ichs nicht wirklich gut gemacht.