<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>Popup</title>
<style>
a:link, a:visited, a:active { text-decoration: none; color: navy;}
a:hover { text-decoration: none; color: yellow; }
</style>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function verScroll(dir, spd, loop) {
loop = true;
direction = "up";
speed = 10;
scrolltimer = null;
if (document.layers) {
var page = eval(document.contentLayer);
}
else {
if (document.getElementById) {
var page= eval("document.getElementById('contentLayer').style");
}
else {
if (document.all) {
var page = eval(document.all.contentLayer.style);
}
}
}
direction = dir;
speed = parseInt(spd);
var y_pos = parseInt(page.top);
if (loop == true) {
if (direction == "dn") {
page.top = (y_pos - (speed));
} else {
if (direction == "up" && y_pos < 10) {
page.top = (y_pos + (speed));
} else {
if (direction == "top") {
page.top = 10;
}
}
}
scrolltimer = setTimeout("verScroll(direction,speed)", 1);
}
}
function stopScroll() {
loop = false;
clearTimeout(scrolltimer);
}
// End -->
</script>
</head>
<body bgcolor="#000000" text="#FFFFFF">
<div id="contentLayer" style="position:absolute; width:300px; z-index:1; left: 39px; top: 51px">
<B>
<font face=Verdana size=4>
Поместите здесь свой текст ! <br>
Это может быть что угодно: презентация, анекдоты, научный
текст или справочник...
</font>
</B>
</div>
<div id="scrollmenu" style="position: absolute; width: 200; height: 62; z-index: 1; left: 400; top: 40">
<table border=1 bgcolor="#808080"><tr><td>
<table width="209">
<tr>
<td align=left width="99"><font color="#FFFFFF"><b>Вниз</b></font> </td>
<td width="18"> </td>
<td align=right width="72"><font color="#FFFFFF"><b>Вверх</b></font></td>
</tr>
<tr>
<td colspan=3 width="201">
<a href="#" onMouseOver="verScroll('up','25','true')" onMouseOut="stopScroll()"><<<</a>
<a href="#" onMouseOver="verScroll('up','5','true')" onMouseOut="stopScroll()"><<</a>
<a href="#" onMouseOver="verScroll('up','1','true')" onMouseOut="stopScroll()"><</a> |
<a href="#" onMouseOver="verScroll('dn','1','true')" onMouseOut="stopScroll()">></a>
<a href="#" onMouseOver="verScroll('dn','5','true')" onMouseOut="stopScroll()">>></a>
<a href="#" onMouseOver="verScroll('dn','25','true')" onMouseOut="stopScroll()">>>></a>
</font>
</td>
</tr>
</table>
</td></tr></table>
</div>
</body>
</html>
|