Angus1
Starting Member
36 Posts |
Posted - July 31 2007 : 22:09:17
|
Hi I have code for two add ons but don't know what page to insert them in. The codes are for scrolling the left nav.
Hope someone can help. The code is as follows.
Thanks
<html> <head>
</head>
<body leftmargin="0" topMargin=0 marginwidth="0" marginheight="0" onmouseover=clearInterval(scrollInterval) onmouseout=runScroller()> <script language=Javascript type=text/javascript> function scroller() { if (document.body.scrollHeight-document.body.scrollTop<=document.body.clientHeight) { ----------------------------------------------------------------- <html> <head>
</head>
<body leftmargin="0" topMargin=0 marginwidth="0" marginheight="0" onmouseover=clearInterval(scrollInterval) onmouseout=runScroller()> <script language=Javascript type=text/javascript> function scroller() { if (document.body.scrollHeight-document.body.scrollTop<=document.body.clientHeight) { scroll(0,0); } else { scroll(0,document.body.scrollTop+1); } } function runScroller() { scrollInterval = setInterval( "scroller()", 40); } </script>
<table border=0 align="center" cellPadding=0 cellSpacing=0 width="100%"> <TR> <TD align=middle>
<font face="Verdana" style="font-size: 10px">
<!-- Product 1 --> <a target="_parent" href="shopexd.asp?id=11"> <img src="images/misc/ScrollProduct1.jpg" border=0 width="76" height="76"></a><br> Product 1<br> New Release. Be the first to have one.<br><br>
<!-- Product 2 --> <a target="_parent" href="shopexd.asp?id=11"> <img src="images/misc/ScrollProduct1.jpg" border=0 width="76" height="76"></a><br> Product 2<br> New Release. Be the first to have one.<br><br>
<!-- Product 3 --> <a target="_parent" href="shopexd.asp?id=11"> <img src="images/misc/ScrollProduct1.jpg" border=0 width="76" height="76"></a><br> Product 3<br> New Release. Be the first to have one.<br><br>
<!-- Product 4 --> <a target="_parent" href="shopexd.asp?id=11"> <img src="images/misc/ScrollProduct1.jpg" border=0 width="76" height="76"></a><br> Product 4<br> New Release. Be the first to have one.<br><br>
<!-- Product 5 --> <a target="_parent" href="shopexd.asp?id=11"> <img src="images/misc/ScrollProduct1.jpg" border=0 width="76" height="76"></a><br> Product 5<br> New Release. Be the first to have one.<br><br> </font> </td> </tr> </table>
<script language=Javascript type=text/javascript> runScroller() </script>
</body>
</html>
|
|