
April 12th, 2001, 12:53 AM
|
|
Junior Member
|
|
Join Date: Apr 2001
Location: Chennai,India
Posts: 25
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Savage here
Hi ashok,
Try this
<html>
<head>
<script>
var d;
function scroll()
{
if(document.all)
{
d=document.all['div1'].style;
d.pixelTop+=1;
}
else if(document.layers)
{
d=document.layers['div1'];
d.top+=1;
}
if(d.pixelTop<100 || d.top<100)setTimeout("scroll()",20)
}
</script>
</head>
<body>
<div id="div1" style="position:absolute; width:500; height:500; top:0; left:0;">
<applet code="chat"></applet>
</div>
<p align="right"><a href="#" onClick="scroll()">Scroll</a> </p>
</body>
</html>
If it doesn't work mail me
All the best.
Savage
Last edited by SavageKid : April 18th, 2001 at 06:52 AM.
|