EdwardKing
05-09-2009, 12:22 AM
I use marquee to realize roll function,following code can run well in IE6 and IE7.But in IE8,I find my folloing code don't work! why? how to correct following code to make it work again under IE6,IE7 and IE8?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<marquee direction="up" border="0" width="100" height="80" scrollamount=2 scrolldelay=80 onmouseout='if (document.all!=null){this.start()}' onmouseover='if (document.all!=null){this.stop()}'>
This is a roll example</marquee>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<marquee direction="up" border="0" width="100" height="80" scrollamount=2 scrolldelay=80 onmouseout='if (document.all!=null){this.start()}' onmouseover='if (document.all!=null){this.stop()}'>
This is a roll example</marquee>
</html>