[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 440
  • Last Modified:

Cross browser RTL marquee

I need to have a marquee that is fit for RTL languages such as Hebrew (I.E scrolling from left to right), which won't cause a falure at XHTML Strict validation and will work cross-browserly.

I could not find something like this prepared nor do I have the knowladge of making one.

Thanks.
0
shmulik15
Asked:
shmulik15
  • 4
1 Solution
 
Michel PlungjanIT ExpertCommented:
Funnily enough it does not run the RTL in FF.

I will look why
0
 
Michel PlungjanIT ExpertCommented:
Hmm, this works in IE and FF

 <marquee id="scroller"direction="left" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=6" ><span dir="rtl">ÑèÕÛÙÝ ÔÑÐÙÝ ÜÕÕÙçÙäÓÙÔ!</span></marquee>
0
 
shmulik15Author Commented:
Thanks, that xb library worked
marquee isn't valid XHTML by the way.
0
 
Michel PlungjanIT ExpertCommented:
Ahh, I missed that one

One could do

<script><!--
document.write('<marquee id="scroller"direction="left" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=6" ><span dir="rtl">ÑèÕÛÙÝ ÔÑÐÙÝ ÜÕÕÙçÙäÓÙÔ!</span></marquee>')
//--></script>

;)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now