Link to home
Start Free TrialLog in
Avatar of shmulik15
shmulik15

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Funnily enough it does not run the RTL in FF.

I will look why
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>
Avatar of shmulik15
shmulik15

ASKER

Thanks, that xb library worked
marquee isn't valid XHTML by the way.
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>

;)