The reason to your problem is the different implimentations of javascript (certain methods) in different browsers. Your code will need to be slightly modified to suit various browser conditions. In order to help you through please post your code below.
this is my code
scrolling the partcular text.this is scrolling in mozilla firefox browser.But not scrolling in Internet explorer.but display the text.
plz suggest.
code is:
[HTML]<div id="datacontain er1" style="position :absolute;left: 0px;top:1px;wid th:100px" onMouseover="sc rollspeed=0" onMouseout="scr ollspeed=cache" >
</div>
<script type="text/javascript" src="ajaxJsScro ll.js">
</script>
<script language="javas cript" type="text/javascript">
//Specify speed of scroll. Larger=faster (ie: 5)
var scrollspeed=cac he=2;
//Specify intial delay before scroller starts scrolling (in miliseconds):
var initialdelay=50 0;
function initializeScrol ler()
{
dataobj=documen t.all? document.all.da tacontainer : document.getEle mentById("datac ontainer1");
dataobj.style.t op="5px";
setTimeout("get dataheight()", initialdelay);
}
function getdataheight()
{
thelength=datao bj.offsetHeight ;
if (thelength==0)
{
setTimeout("get dataheight()",1 0);
}
else
{
scrollDiv();
}
}
function scrollDiv()
{
dataobj.style.t op=parseInt(dat aobj.style.top)-scrollspeed+"px ";
if (parseInt(datao bj.style.top)<t helength*(-1))
{
dataobj.style.t op="5px";
}
setTimeout("scr ollDiv()",100);
}
if (window.addEven tListener)
{
window.addEvent Listener("load" , initializeScrol ler, false);
}
else if (window.attachE vent)
{
window.attachEv ent("onload", initializeScrol ler);
}
else
{
window.onload=i nitializeScroll er;
}
showHint('dummy ');
</script>[/HTML]