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.
<html>
<head>
<script language="javascript">
var ids = new Array('imgone','imgtwo');
function hideElement(id)
{
if(document.getElementById)
{
document.getElementById(id).style.display='none';
}
}
function showElement(id)
{
if(document.getElementById)
{
document.getElementById(id).style.display='block';
}
}
function hideAll()
{
for(var i=0;i<ids.length;i++)
{
if(document.getElementById)
{
hideElement(ids[i]);
}
}
}
function switchId(id)
{
hideAll();
showElement(id);
}
</script>
</head>
<body>
<div id='imgone' style="display:block">
<a href="javascript:switchId('imgtwo');"><img src="http://194.12.229.100/photos/485/4843439p.jpg"></a>
</div>
<div id='imgtwo' style="display:none">
<BR><a href="javascript:switchId('imgone');"><img src="http://194.12.229.100/photos/485/4843439l.jpg"><br>Скрий</a>
</div>
</body>
</html>