Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Untitled Document</title>
</head>
<body>
<input type="text" name="text" id="text" /><br />
<a href="#" onclick="document.getElementById('text').value=eval(parseInt(document.getElementById('text').value)+parseInt(100));">100</a><br />
<a href="#" onclick="document.getElementById('text').value=eval(parseInt(document.getElementById('text').value)+parseInt(200));">200</a><br />
<a href="#" onclick="document.getElementById('text').value=eval(parseInt(document.getElementById('text').value)+parseInt(300));">300</a><br />
<a href="#" onclick="document.getElementById('text').value=eval(parseInt(document.getElementById('text').value)+parseInt(400));">400</a><br />
<a href="#" onclick="document.getElementById('text').value=eval(parseInt(document.getElementById('text').value)+parseInt(500));">500</a><br />
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Untitled Document</title>
<script type="text/javascript">
function addNum(num){
if(document.getElementById('text').value==""){
document.getElementById('text').value = num;
} else {
document.getElementById('text').value = eval(parseInt(document.getElementById('text').value)+parseInt(num));
}
}
</script>
</head>
<body>
<input type="text" name="text" id="text" /><br />
<a href="#" onclick="addNum('100');">100</a><br />
<a href="#" onclick="addNum('200');">200</a><br />
<a href="#" onclick="addNum('300');">300</a><br />
<a href="#" onclick="addNum('400');">400</a><br />
<a href="#" onclick="addNum('500');">500</a><br />
<a href="#" onclick="addNum('600');">600</a>
</body>
</html>