M
Mr. x
Hello,
I have a marquee object.
I see that it acts differently on IE (6) and on Netscape (7.1)
In netscape the marquee is centered,
and on IE it is not centered.
Also the left position of the marquee is not the same on IE and on netscape.
Also when mouse is on the marquee text, in IE it is paused, but on Netscape
it does't.
What should I do in order that marquee will act the same ?
Here is my code :
.....
<head>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=WINDOWS-1255">
<script src = "../js/marquee.js">
</script>
</head>
....
<marquee style="font-color: #000000; position:relative; left:0; top:12"
align="center" width="150" height="380" behavior="scroll" dir="rtl"
direction="up" loop="-1" scrolldelay="45" SCROLLAMOUNT="1"
onmouseover = "M_stop()" onmouseout = "M_start()">
<font size="2" color="black" face="arial"><b>
Line one ... <br>
Line two ... <br>
.....
// The text of lines is Hebrew - that's why I use "rtl".
In the marquee.js is the following code :
<!--
function M_stop() {
document.all.tags("marquee").item(0).stop();
}
function M_start() {
document.all.tags("marquee").item(0).start();
}
//-->
Thanks
I have a marquee object.
I see that it acts differently on IE (6) and on Netscape (7.1)
In netscape the marquee is centered,
and on IE it is not centered.
Also the left position of the marquee is not the same on IE and on netscape.
Also when mouse is on the marquee text, in IE it is paused, but on Netscape
it does't.
What should I do in order that marquee will act the same ?
Here is my code :
.....
<head>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=WINDOWS-1255">
<script src = "../js/marquee.js">
</script>
</head>
....
<marquee style="font-color: #000000; position:relative; left:0; top:12"
align="center" width="150" height="380" behavior="scroll" dir="rtl"
direction="up" loop="-1" scrolldelay="45" SCROLLAMOUNT="1"
onmouseover = "M_stop()" onmouseout = "M_start()">
<font size="2" color="black" face="arial"><b>
Line one ... <br>
Line two ... <br>
.....
// The text of lines is Hebrew - that's why I use "rtl".
In the marquee.js is the following code :
<!--
function M_stop() {
document.all.tags("marquee").item(0).stop();
}
function M_start() {
document.all.tags("marquee").item(0).start();
}
//-->
Thanks