Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<title>Rotating Banner Example</title>
<script language="javascript" type="text/javascript">
<!--
var index = 0;
var banners = new Array("[URL unfurl="true"]http://www.tek-tips.com/images/partnerbtn120x60.gif",[/URL] "[URL unfurl="true"]http://www.tek-tips.com/ads/codebanner.gif",[/URL] "[URL unfurl="true"]http://www.google.com/images/logo.gif");[/URL]
function rotate() {
if (index == banners.length) index = 0;
document.getElementById('the_banner').src = banners[index];
index++;
setTimeout('rotate()', 5000);
}
-->
</script>
<style type="text/css">
</style>
</head>
<body onload="setTimeout('rotate()', 5000);">
<img id="the_banner" src="[URL unfurl="true"]http://www.tek-tips.com/images/partnerbtn120x60.gif"[/URL] />
<br />
The banner above will change every 5 seconds.
</body>
</html>
<html>
<head>
<title>Banners</title>
<style type="text/css">
<!--
img {
display: none;
}
-->
</style>
<script type="text/javascript">
<!--
function hideAll(elem)
{
var obj = null;
for (var i=1;obj = document.getElementById("logo"+i) != null; i++)
{
obj.style.display = "none";
}
document.getElementById(elem).style.display = "";
}
// -->
</script>
</head>
<body>
<img src="logo1.gif" name="logo1" id="logo1">
<img src="logo2.gif" name="logo2" id="logo2">
<img src="logo3.gif" name="logo3" id="logo3">
<img src="logo4.gif" name="logo4" id="logo4">
<img src="logo5.gif" name="logo5" id="logo5">
<a href="#" onclick="hideAll('logo1');">Show logo 1</a>
<a href="#" onclick="hideAll('logo2');">Show logo 2</a>
<a href="#" onclick="hideAll('logo3');">Show logo 3</a>
<a href="#" onclick="hideAll('logo4');">Show logo 4</a>
<a href="#" onclick="hideAll('logo5');">Show logo 5</a>
</body>
</html>