Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Textarea direction
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedTextarea direction

 Post Reply Post Reply
Author
Oded O View Drop Down
Newbie
Newbie


Joined: 16 August 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oded O Quote  Post ReplyReply Direct Link To This Post Topic: Textarea direction
    Posted: 18 September 2005 at 2:40am
Hello,

How can I change the textarea dir to rtl (writing in hebrew)

I've tried adding dir=rtl to:

<textarea name="textarea" cols="80" rows="15" id="myTextarea">

but it's not working.
I guess I need to find the Iframe of the RTE window, but I got lost in all these lines of code...

Thanks!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2005 at 6:13am
Try changing line 125 of the file RTE_javascript.asp from:-

iframeContent += '<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" class="RTEtextarea">\n';

To:-

iframeContent += '<body leftmargin="1" topmargin="1" marginwidth="1" marginheight="1" class="RTEtextarea" dir="rtl">\n';

I've not had chance to test this but it should work.
Back to Top
megetron View Drop Down
Groupie
Groupie


Joined: 20 September 2004
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote megetron Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2005 at 6:34pm
no such file : RTE_javascript.asp
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2005 at 4:17am
There is, make sure you are running the latest version of Web Wiz Rich Text Editor version 3.0

Or are you referring to Web Wiz Forums? (if so you have posted in the wrong forum and the page will be RTE_textbox.asp)
Back to Top
megetron View Drop Down
Groupie
Groupie


Joined: 20 September 2004
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote megetron Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2005 at 4:04pm
you are right. I have a hebre system with the forum.
for some reason I cant fins the line you have mention but I see I changed the code for this:
<body dir=ltr  bgcolor="<% = strIETextBoxColour %>" class="text" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"<% If RTEenabled = "Gecko" Then Response.Write(" onLoad=""setTimeout('enableDesignMode()', 20);""") %>>
 
I dont why, but maybe this is the reason that sometimes the words are written in the opposite direction
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.