Strange behavior in marquee

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Strange behavior in marquee

rion10
  I'm using mozilla 1.7.12, the marquee tag can be supported by it, but the
behavior seems a little strange.
  For example, I've a long text displayed in marquee --
"this is a test1...this is a test2...this is a test3...this is a
test4...this is a test5...this is a test6..."

  The behavior of mozilla 1.7.12 which running in my conputer is as the
following (correct):
[                                 t]
[                                th]
...scroll...
...scroll...
...scroll...
[6...                              ]
[...                               ]
...repeat...

  But the behavior of mozilla 1.7.12 which running in my set-top box is as
the following (strange):
[this is a test1...this is a test2.]
...wait 2~3 seconds, then start scrolling...
...scroll...
...scroll...
...scroll...
[is is a test5...this is a test6...]
...wait several seconds, then repeat...
[this is a test1...this is a test2.]


  I guess it's due to the config file. the following is from my
xbl-marquee.xml:
...
case "left":
  this.dirsign = 1;
  this.startAt = (this.behaviorField != 'alternate') ?
(this.innerDiv.offsetLeft - this.outerDiv.offsetWidth) :
this.innerDiv.offsetWidth;
  this.stopAt  = this.outerDiv.offsetWidth
               + ((this.behaviorField != 'alternate') ?
(this.innerDiv.offsetWidth + this.startAt) : 0);
  break;
...

  Anyone know how to fix it? thanks a lot.


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Strange behavior in marquee

Martijn-4
Could you post a page or example of that somewhere?
I'm pretty sure dev.builds is the wrong mailing list for this, btw.
You might want to try dev.layout.

Regards,
Martijn

2007/8/22, luke liang <[hidden email]>:

>
>   I'm using mozilla 1.7.12, the marquee tag can be supported by it, but
> the
> behavior seems a little strange.
>   For example, I've a long text displayed in marquee --
> "this is a test1...this is a test2...this is a test3...this is a
> test4...this is a test5...this is a test6..."
>
>   The behavior of mozilla 1.7.12 which running in my conputer is as the
> following (correct):
> [                                 t]
> [                                th]
> ...scroll...
> ...scroll...
> ...scroll...
> [6...                              ]
> [...                               ]
> ...repeat...
>
>   But the behavior of mozilla 1.7.12 which running in my set-top box is as
> the following (strange):
> [this is a test1...this is a test2.]
> ...wait 2~3 seconds, then start scrolling...
> ...scroll...
> ...scroll...
> ...scroll...
> [is is a test5...this is a test6...]
> ...wait several seconds, then repeat...
> [this is a test1...this is a test2.]
>
>
>   I guess it's due to the config file. the following is from my
> xbl-marquee.xml:
> ...
> case "left":
>   this.dirsign = 1;
>   this.startAt = (this.behaviorField != 'alternate') ?
> (this.innerDiv.offsetLeft - this.outerDiv.offsetWidth) :
> this.innerDiv.offsetWidth;
>   this.stopAt  = this.outerDiv.offsetWidth
>                + ((this.behaviorField != 'alternate') ?
> (this.innerDiv.offsetWidth + this.startAt) : 0);
>   break;
> ...
>
>   Anyone know how to fix it? thanks a lot.
>
>
> _______________________________________________
> dev-builds mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-builds
>



--
Martijn Wargers - Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://wiki.mozilla.org/Mozilla_QA_Community
irc://irc.mozilla.org/qa - /nick mw22
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds