<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://rtl-this.com">
<channel>
 <title>RTL This</title>
 <link>http://rtl-this.com</link>
 <description>Supporting the Arabic Content online by supporting its direction(RTL) on the web..</description>
 <language>en</language>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/rtl-this" /><feedburner:info uri="rtl-this" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>rtl-this</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
 <title>WordPress Plugin: Admin Locale</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/btYPVgcAuaM/wordpress-plugin-admin-locale</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;To change the language of a &lt;a href="http://wordpress.org"&gt;WordPress&lt;/a&gt; site, just update the &lt;code&gt;WPLANG&lt;/code&gt; constant in your &lt;code&gt;wp-config.php&lt;/code&gt; file:&lt;/p&gt;
&lt;pre class="brush:php"&gt;
define ('WPLANG', 'ar'); //changes the language of the site to Arabic
&lt;/pre&gt;&lt;p&gt;But this will change the language of both of your Front End and Back End. Separating these two was not possible if it weren't for this &lt;acronym title="WordPress"&gt;WP&lt;/acronym&gt; plugin by Louay(same author of &lt;a href="http://rtl-this.com/content/wordpress-plugin-rtler"&gt;The RTLer&lt;/a&gt;): &lt;a href="http://wordpress.org/extend/plugins/admin-locale/"&gt;&lt;strong&gt;Admin Locale&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://wordpress.org/extend/plugins/admin-locale/installation/"&gt;Install&lt;/a&gt; the plugin and:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt; Just go to Settings » General and choose your language.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Of course you'll need to install a localized version of WordPress so you can get the language files. Arabic WordPress can be downloaded from &lt;a href="http://ar.wordpress.org"&gt;http://ar.wordpress.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enjoy =)&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JFwlXbJXXcL7ncQQyqxBKgfKXrA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JFwlXbJXXcL7ncQQyqxBKgfKXrA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JFwlXbJXXcL7ncQQyqxBKgfKXrA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JFwlXbJXXcL7ncQQyqxBKgfKXrA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/btYPVgcAuaM" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/content/wordpress-plugin-admin-locale#comments</comments>
 <category domain="http://rtl-this.com/category/tags/i18n">i18n</category>
 <category domain="http://rtl-this.com/category/tags/l10n">l10n</category>
 <category domain="http://rtl-this.com/category/tags/locale">locale</category>
 <category domain="http://rtl-this.com/category/tags/plugin">plugin</category>
 <category domain="http://rtl-this.com/category/tags/wordpress">wordpress</category>
 <pubDate>Mon, 06 Sep 2010 08:41:59 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">38 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/content/wordpress-plugin-admin-locale</feedburner:origLink></item>
<item>
 <title>Supporting the Arabic Content in English!</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/9fFHBu2G__o/supporting-arabic-content-english</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;I know it might be strange that this site uses English to support the Arabic content online; And I've heard lots of comments about this so let me explain!&lt;/p&gt;
&lt;!--break--&gt;&lt;!--break--&gt;&lt;h2&gt;How it all started&lt;/h2&gt;
&lt;p&gt;It all started when a friend asked me to help them with their &lt;a href="http://www.mybloglog.com/"&gt;MyBlog&lt;/a&gt; widget they're using in an Arabic(RTL) blog. I checked the widget creator to find that the developers didn't think of RTL websites when they built up this widget. So with &lt;a href="http://rtl-this.com/tutorial/rtling-mybloglog-widget"&gt;small tweaks&lt;/a&gt; it was ready and looking great in less than an hour. The developers at MyBlog could have added the RTL support in no time if they only thought about the idea (&lt;em&gt;I don't know if they did it's just a thought not what actually happened&lt;/em&gt;). I've also tweaked some jQuery plugins before to work with RTL websites, and sometimes I even had to write plugins from scratch because updating the plugins I found would have taken more time. All of these made me think of starting this site with one goal: supporting the RTL side of the web.&lt;/p&gt;
&lt;p&gt;What also encouraged me even more is the number of Arabic blogs in the MENA blogesphere that use LTR themes because of the lack of beautiful and various RTL themes online. I've read as well about many initiatives to support the Arabic content online(which are all great) and I wanted jump in too!&lt;br /&gt;
Since I'm not a good writer myself and supporting the Arabic content &lt;strong&gt;IS NOT&lt;/strong&gt; 'writing' online Arabic content, I decided to setup this site as my humble contribution to enriching the Arabic content by making it look good and more appealing in our browsers.&lt;/p&gt;
&lt;h2&gt;The Target Audience&lt;/h2&gt;
&lt;p&gt;You might think that Arabic internet users are this site's target audience, well you're not totally wrong. They are part-a big part- of the audience but not the primary target! Whom I'm basically trying to reach are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Web Developers around the world&lt;/li&gt;
&lt;li&gt;Web Designers around the world&lt;/li&gt;
&lt;li&gt;Web Developers who have published(or want to) one or more JS plugin, CSS Widget, any CMS or Blogging platform(Wordpress, Drupal, Joomla...etc) theme or any web component that can be used in any website!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;YES! Around the world. I don't have the time, money or resources to RTL every single template or plugin out there (at least for now). So my goal is to encourage developers around the world to add the RTL support to their templates, plugins or whatever web application they're developing.&lt;/p&gt;
&lt;p&gt;With each template or plugin I RTL, I make sure that the author knows about it. Some of them choose to ignore what happened and others get motivated to add the support to the original application. What the &lt;a href="http://rtl-this.com/tutorial/rtling-jcarousel-jquery-plugin#comment-105"&gt;author of the jQuery plugin jCarousel did&lt;/a&gt; is my goal. And of course I wouldn't have achieved this result if I wrote the tutorial in Arabic. Reaching a global audience cannot be achieved with other language than English especially if the information is purely technical.&lt;/p&gt;
&lt;h2&gt;So, No Arabic?&lt;/h2&gt;
&lt;p&gt;The fact that I chose English as the main language of this site does not mean that having this site in Arabic is not possible. Translating the tutorials is at the top of my to-do list and it will happen eventually.&lt;/p&gt;
&lt;h2&gt;What do you think?&lt;/h2&gt;
&lt;p&gt;Do you think I made a mistake? Should I start writing the tutorials in Arabic as the main language? Please share your opinion in the comments' form below =)&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/E9wKgFCkKiU3NQ1m4lYQSfbtq2E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E9wKgFCkKiU3NQ1m4lYQSfbtq2E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/E9wKgFCkKiU3NQ1m4lYQSfbtq2E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E9wKgFCkKiU3NQ1m4lYQSfbtq2E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/9fFHBu2G__o" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/content/supporting-arabic-content-english#comments</comments>
 <category domain="http://rtl-this.com/category/tags/arabic">arabic</category>
 <category domain="http://rtl-this.com/category/tags/english">english</category>
 <category domain="http://rtl-this.com/category/tags/language">language</category>
 <pubDate>Tue, 10 Aug 2010 09:20:00 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">37 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/content/supporting-arabic-content-english</feedburner:origLink></item>
<item>
 <title>WordPress Plugin: The RTLer</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/mXKMcS_By3U/wordpress-plugin-rtler</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&lt;a href="http://wordpress.org"&gt;WordPress &lt;/a&gt;has this very easy and straight forward logic when it comes to RTLing themes. It simply checks for the direction of the language you're using in your &lt;acronym title="WordPress"&gt;WP&lt;/acronym&gt; installation, if it happens to be 'rtl'(Arabic for example) it includes the stylesheet &lt;code&gt;rtl.css&lt;/code&gt; if it exists. This means that RTLing a &lt;acronym title="WordPress"&gt;WP&lt;/acronym&gt; theme is creating this &lt;code&gt;rtl.css&lt;/code&gt; file.&lt;em&gt; A detailed tutorial is coming up soon about RTLing &lt;acronym title="WordPress"&gt;WP&lt;/acronym&gt; themes&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://louyblog.wordpress.com"&gt;Louy&lt;/a&gt; who writes by the way at &lt;a href="http://ardroid.com/"&gt;Ardroid&lt;/a&gt;, &lt;a href="http://codex.wordpress.org/User:Louyx"&gt;WordPress Codex&lt;/a&gt; and &lt;a href="http://ar.globalvoicesonline.org/author/louy08/"&gt;Global Voices&lt;/a&gt; wrote a Wordpress Plugin that creates this &lt;code&gt;rtl.css&lt;/code&gt; for you. He called it the RTLer(well of course):&lt;/p&gt;
&lt;p&gt;&lt;blockqutoe&gt;  RTLer, is just a simple plugin that generates the RTL stylesheet &lt;code&gt;rtl.css&lt;/code&gt; for you from your theme's &lt;code&gt;style.css&lt;/code&gt; file. &lt;/blockqutoe&gt;&lt;/p&gt;
&lt;p&gt;Check the &lt;a href="http://wordpress.org/extend/plugins/rtler/"&gt;&lt;strong&gt;RTLer &lt;/strong&gt;&lt;/a&gt;out at the WordPress Plugin Directory.&lt;/p&gt;
&lt;p&gt;&lt;blockqutoe&gt;  &lt;strong&gt;&lt;em&gt;Thumbs up Louy! &lt;/em&gt;&lt;/strong&gt;&lt;/blockqutoe&gt;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IQ0iDuTX0aI-YWpC5fFMQYqMOy8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IQ0iDuTX0aI-YWpC5fFMQYqMOy8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IQ0iDuTX0aI-YWpC5fFMQYqMOy8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IQ0iDuTX0aI-YWpC5fFMQYqMOy8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/mXKMcS_By3U" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/content/wordpress-plugin-rtler#comments</comments>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <category domain="http://rtl-this.com/category/tags/plugin">plugin</category>
 <category domain="http://rtl-this.com/category/tags/rtl">rtl</category>
 <category domain="http://rtl-this.com/category/tags/wordpress">wordpress</category>
 <pubDate>Thu, 22 Jul 2010 13:01:31 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">35 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/content/wordpress-plugin-rtler</feedburner:origLink></item>
<item>
 <title>RTLing jCarousel (jQuery Plugin)</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/EtVfKndgPT8/rtling-jcarousel-jquery-plugin</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://sorgalla.com/projects/jcarouse"&gt;jCarousel&lt;/a&gt; is a beautiful &lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt; plugin. Personally it's one of my favorites! You can set up your caoursel up and running in just one line or two. Even theming it is easy. According to the project's page:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;jCarousel is a &lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt; plugin for  controlling     a list of items in horizontal or vertical order. The items, which  can be static     HTML content or loaded with (or without) AJAX, can be scrolled back  and forth     (with or without animation).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The only thing missing in this wonderful plugin is the RTL support. And in this tutorial, it won't miss it anymore.&lt;/p&gt;
&lt;!--break--&gt;&lt;!--break--&gt;&lt;h2&gt;1. Get the files&lt;/h2&gt;
&lt;p&gt;First of all, download the latest version of the jCarousel plugin: &lt;a href="http://sorgalla.com/projects/download.php?jcarousel"&gt;jcarousel.tar.gz&lt;/a&gt;  or &lt;a href="http://sorgalla.com/projects/download-zip.php?jcarousel"&gt;jcarousel.zip&lt;/a&gt;. Extract the downloaded folder. What we'll be working on in our RTLing process are the folders &lt;strong&gt;lib&lt;/strong&gt;(where the JS is) and &lt;strong&gt;skins&lt;/strong&gt;(where the CSS is)&lt;/p&gt;
&lt;h2&gt;2. Update the JavaScript plugin file&lt;/h2&gt;
&lt;p&gt;Open the &lt;strong&gt;lib&lt;/strong&gt; folder to find the jquery library minified(latest version is 1.4.2 at the time of writing this tutorial), jqarousel library and the jqarousel library minified. We'll ignore the minified files and edit the &lt;strong&gt;jquery.jqarousel.js&lt;/strong&gt; file(we'll minify it when we're done).&lt;/p&gt;
&lt;p&gt;I won't bore you with the details of editing this file, but it's dead simple. It's all about spotting the explicitly declared &amp;quot;&lt;code&gt;left&lt;/code&gt;&amp;quot; directional properties and make sure it can be dynamically set/configured.&lt;/p&gt;
&lt;p&gt;We'll first start by adding an option to the defaults(line #53) called &lt;code&gt;horizontalDirection&lt;/code&gt; and we'll set the default value to be '&lt;code&gt;ltr&lt;/code&gt;',&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt; 
var defaults =
{ vertical: false,
 horizontalDirection:'ltr',
 //rest of default options
 &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then run a search for the string '&lt;code&gt;left&lt;/code&gt;' in the file. You'll get 3 results; Replace the first and third occurrences(lines #101 and #812) with the below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt;(this.options.horizontalDirection=='rtl'?'right':'left')&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Line #101 will be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt;this.lt = !this.options.vertical ? (this.options.horizontalDirection=='rtl'?'right':'left'): 'top';&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And line #812 will be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt;&amp;nbsp;'float': (this.options.horizontalDirection=='rtl'?'right':'left'),&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And in the second occurrence(line #682), replace the {'left':p} with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt;(this.options.horizontalDirection=='rtl'?{'right': p}:{'left': p})&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So it'll be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt;&amp;nbsp;var o = !this.options.vertical ? (this.options.horizontalDirection=='rtl'?{'right': p}:{'left': p}) &amp;nbsp;: {'top': p};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As it shows, we're simply checking for the option we added before setting the property explicitly(which was always a &lt;code&gt;left&lt;/code&gt;).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To have &amp;nbsp;CSS control on the new feature, we'll add a class to the container when its initialized named: jcarousel-direction-rtl or jcarousel-direction-ltr (depending on the horizontalDirection option). At line #163, add the below to JQ chain as below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt;
this.container.addClass(this.className('jcarousel-container'))
.addClass(!this.options.vertical?'jcarousel-direction-'+this.options.horizontalDirection:'')
.css({
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And that's about it. Minify the file or pack it to use it on your live site.&lt;/p&gt;
&lt;h2&gt;3. RTL the skins&lt;/h2&gt;
&lt;p&gt;The plugins comes with two themes: &lt;code&gt;tango&lt;/code&gt; and &lt;code&gt;ie7&lt;/code&gt;. The modifications will be minor since they only target the previous and next buttons. The modifications below apply to both themes or any other theme with any theme_name.&lt;/p&gt;
&lt;p&gt;The CSS modifications will be simply appending the below to the &lt;strong&gt;skin.css&lt;/strong&gt; file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;
.jcarousel-skin-theme_name .jcarousel-direction-rtl {direction:rtl;}
.jcarousel-skin-theme_name .jcarousel-direction-rtl .jcarousel-item-horizontal{ margin-right:0; margin-left:10px;}

/*horizontal buttons*/
.jcarousel-skin-theme_name .jcarousel-direction-rtl .jcarousel-next-horizontal{
background-image:url(prev-horizontal.png); right:auto; left:5px;
}
.jcarousel-skin-theme_name .jcarousel-direction-rtl .jcarousel-prev-horizontal{
background-image:url(next-horizontal.png); left:auto; right:5px;
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As shown above, we're just overriding the CSS of the theme itself. Values may differ from theme to theme of course but the concept would be the same(Overriding the margin-right to be a margin-left is what matters)&lt;/p&gt;
&lt;p&gt;As you've noticed too we're switching the background images of the next and previous buttons. This is to avoid having extra flipped images(we already have them &lt;img alt="" src="http://rtl-this.com/sites/all/modules/fckeditor/fckeditor/editor/images/smiley/msn/regular_smile.gif" /&gt;)&lt;/p&gt;
&lt;p&gt;...And you're done with the CSS&lt;/p&gt;
&lt;h2&gt;4. Use it!&lt;/h2&gt;
&lt;p&gt;Now to activate the RTL support, just use the new option we added:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:js"&gt;
jQuery(document).ready(function() {
  jQuery('#mycarousel').jcarousel({horizontalDirection:'rtl'});
});
&lt;/pre&gt;&lt;/p&gt;
&lt;h2&gt;5. Enjoy it :)&lt;/h2&gt;
&lt;p&gt;That's all :) The source code of the RTLed plugin and two themes are available to be downloaded and a demo is also available to see it in action(links below). I've tested this patch under Firefox, Chrome, Safari, IE7 and IE8. Should you face any bugs or trouble with it, please do add a comment with the issue below to be fixed ASAP.&lt;/p&gt;
&lt;div class="field field-type-text field-field-demo-link"&gt;
    &lt;div class="field-items"&gt;
            &lt;div class="field-item odd"&gt;
                    &lt;p&gt;&lt;a href="http://rtl-this.com/userfiles/demos/jcarousel/index.html"&gt;Demo&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IfAfRmEWQo4yaR1hUfhMdTMbYm0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IfAfRmEWQo4yaR1hUfhMdTMbYm0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IfAfRmEWQo4yaR1hUfhMdTMbYm0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IfAfRmEWQo4yaR1hUfhMdTMbYm0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/EtVfKndgPT8" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/tutorial/rtling-jcarousel-jquery-plugin#comments</comments>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <category domain="http://rtl-this.com/category/tags/level/intermediate">intermediate</category>
 <category domain="http://rtl-this.com/category/tags/jquery">jquery</category>
 <category domain="http://rtl-this.com/category/tags/js">js</category>
 <category domain="http://rtl-this.com/category/tags/plugin">plugin</category>
 <pubDate>Wed, 23 Jun 2010 14:34:26 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">34 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/tutorial/rtling-jcarousel-jquery-plugin</feedburner:origLink></item>
<item>
 <title>Notepad: WordPress Theme RTLed</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/piql_Ry8Rt8/notepad-wordpress-theme-rtled</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;We're super excited to release another RTLed Wordpress Theme this week:&lt;/p&gt;
&lt;!--break--&gt;&lt;!--break--&gt;&lt;h2 style="font-size: 22px; line-height: 1.3em; margin-top: 0.667em; margin-bottom: 0.667em;"&gt;Notepad&amp;nbsp;&lt;/h2&gt;
&lt;h3 style="font-size: 21px; line-height: 1.3em; margin-top: 0.769em; margin-bottom: 0.769em;"&gt;Author: &lt;a title="n.design studio's website" href="http://www.ndesign-studio.com/"&gt;n.design studio&lt;/a&gt;&amp;nbsp;&lt;/h3&gt;
&lt;p style="margin: 1em 0px;"&gt;According to the n.design studio, this theme is:&lt;/p&gt;
&lt;blockquote&gt;&lt;p style="margin: 1em 0px;"&gt;&amp;quot;Inspired by the iPhone&amp;rsquo;s Notes.app, the Notepad is a modern WordPress  theme with a subtle touch of the sketchy effect.&lt;/p&gt;
&lt;p&gt;[...]&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Theme's License&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This theme is released under GPL.&lt;/li&gt;
&lt;li&gt;If you remix, convert, translate, modify, or distribute a copy  of this theme, please keep the links/credit in the footer.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;quot; &lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="margin: 1em 0px;"&gt;I really recommend checking the original theme's page, for it has amazing tips and guides about how to customize it&lt;em&gt;(You can even get the PSD there)&lt;/em&gt;.&lt;/p&gt;
&lt;p style="margin: 1em 0px;"&gt;Check an RTLed and localized screenshot of the theme below:&lt;/p&gt;
&lt;p style="margin: 1em 0px;"&gt;&lt;img width="500" height="267" alt="Notepad: Wordpress Theme RTLed - Screenshot" src="/userfiles/image/notepad-wp-theme-rtled(1).jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note: &lt;/strong&gt;This theme is also packaged with its Arabic translation files and it was already i18ed.&lt;/p&gt;
&lt;div class="field field-type-filefield field-field-theme-files"&gt;
    &lt;div class="field-items"&gt;
            &lt;div class="field-item odd"&gt;
                    &lt;div class="filefield-file"&gt;&lt;img class="filefield-icon field-icon-application-zip"  alt="application/zip icon" src="http://rtl-this.com/sites/all/modules/filefield/icons/package-x-generic.png" /&gt;&lt;a href="http://rtl-this.com/sites/default/files/rtl-themes/notepad-wp-theme-rtled(rtl-this.com).zip" type="application/zip; length=317200" title="notepad-wp-theme-rtled(rtl-this.com).zip"&gt;Download Theme&lt;/a&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class="field field-type-text field-field-demo-link"&gt;
    &lt;div class="field-items"&gt;
            &lt;div class="field-item odd"&gt;
                    &lt;p&gt;&lt;a href="http://www.ndesign-studio.com/wp-themes/notepad"&gt;Theme's Original Page&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GAJOEvRbkT5SzkJMYWGzT_3lxFs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GAJOEvRbkT5SzkJMYWGzT_3lxFs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GAJOEvRbkT5SzkJMYWGzT_3lxFs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GAJOEvRbkT5SzkJMYWGzT_3lxFs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/piql_Ry8Rt8" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/rtl-theme/notepad-wordpress-theme-rtled#comments</comments>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <category domain="http://rtl-this.com/category/tags/themes">themes</category>
 <category domain="http://rtl-this.com/category/tags/wordpress">wordpress</category>
 <category domain="http://rtl-this.com/category/tags/wp-theme">wp-theme</category>
 <pubDate>Mon, 22 Mar 2010 06:58:21 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">33 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/rtl-theme/notepad-wordpress-theme-rtled</feedburner:origLink></item>
<item>
 <title>Pure Minimal: Wordpress Theme RTLed</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/YpaWmBG1q6Q/pure-minimal-wordpress-theme-rtled</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Since more than half of the RTL-This visitors want to see RTLed CMS Templates (according to our &lt;a href="http://rtl-this.com/content/what-do-you-see-rtled-here"&gt;poll&lt;/a&gt;), we have successfully RTLed a free WordPress theme and is ready to be download.&lt;/p&gt;
&lt;!--break--&gt;&lt;!--break--&gt;&lt;h2&gt;Pure Minmal&amp;nbsp;&lt;/h2&gt;
&lt;h3&gt;Author: &lt;a title="Hisham's Blog" href="http://www.ihisham.com/"&gt;Hisham Sadek&lt;/a&gt;(&lt;a title="Hisham's Twitter Account" href="http://www.ihisham.com/"&gt;@SadekHM&lt;/a&gt;) @ &lt;a title="Pure Design Co" href="http://pure-des.net/"&gt;Pure Design Co&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;img width="400" height="334" src="/userfiles/image/pureminimal-wp-screenshot.png" alt="Pure Minimsal WP Theme - Screenshot" /&gt;&lt;/p&gt;
&lt;p&gt;The name says it all, Pure Minimal. It's neat, organized and suitable for all kinds of blog.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The plan was to just RTL the theme then it was extended to internationalize it and since we reached that point, we localized it(Arabic). Feel free to download it and drop us comments here about any bugs or questions.&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;
&lt;div class="field field-type-filefield field-field-theme-files"&gt;
    &lt;div class="field-items"&gt;
            &lt;div class="field-item odd"&gt;
                    &lt;div class="filefield-file"&gt;&lt;img class="filefield-icon field-icon-application-zip"  alt="application/zip icon" src="http://rtl-this.com/sites/all/modules/filefield/icons/package-x-generic.png" /&gt;&lt;a href="http://rtl-this.com/sites/default/files/rtl-themes/PureMinimal.zip" type="application/zip; length=237713" title="PureMinimal.zip"&gt;Download Theme&lt;/a&gt;&lt;/div&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/D_XcMx9imA-o2fHT3r77jGRlxYE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D_XcMx9imA-o2fHT3r77jGRlxYE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/D_XcMx9imA-o2fHT3r77jGRlxYE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D_XcMx9imA-o2fHT3r77jGRlxYE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/YpaWmBG1q6Q" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/rtl-theme/pure-minimal-wordpress-theme-rtled#comments</comments>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <category domain="http://rtl-this.com/category/tags/themes">themes</category>
 <category domain="http://rtl-this.com/category/tags/wordpress">wordpress</category>
 <category domain="http://rtl-this.com/category/tags/wp-theme">wp-theme</category>
 <pubDate>Wed, 17 Mar 2010 17:29:48 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">32 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/rtl-theme/pure-minimal-wordpress-theme-rtled</feedburner:origLink></item>
<item>
 <title>RTLing GD Star Rating Plugin (WP) - Part 2: Fixing Different Icon sizes</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/yK22hBrVcm0/rtling-gd-star-rating-plugin-wp-part-2-fixing-different-icon-sizes</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;
	When we &lt;a href="http://rtl-this.com/tutorial/rtling-gd-star-rating-plugin-wp"&gt;RTLed the GD Star Rating Wordpress Plugin&lt;/a&gt;, we only added support for the default size of the icons(which is the 24px). In this quick and short post, we&amp;#39;ll add support to the rest of the sizes so far: 12px, 16px, 20px, 30px and 48px. And since it&amp;#39;s a small post, I&amp;#39;ll show you how it&amp;#39;s RTLed.&lt;/p&gt;
&lt;!--break--&gt;&lt;!--break--&gt;&lt;p&gt;
	In the previous post, we found the preview of your rating(after you vote) wasn&amp;#39;t rendered correctly in RTL:&lt;/p&gt;
&lt;p&gt;
	&lt;img alt="GD Star Rating Preview in RTL" src="/userfiles/image/screenshot2-gd-star-rating-rtl.png" style="width: 249px; height: 31px;" /&gt;&lt;/p&gt;
&lt;p&gt;
	And the problem was with a &lt;code&gt;background-position&lt;/code&gt; value which was set to &lt;code&gt;0 SOME_VALUE&lt;/code&gt;. The fix was simply by turning the &lt;code&gt;0&lt;/code&gt; into a &lt;code&gt;right&lt;/code&gt;(or &lt;code&gt;100%&lt;/code&gt;) and leave the &lt;code&gt;SOME_VALUE&lt;/code&gt; as it is. That&amp;#39;s why the rtling of this one was simply:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;
	.ratingblock .starsbar.gdsr-size-24 .gdinner { background-position:right -48px!important;}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;
	Notice the .gdsr-size-24? Yes it&amp;#39;s the icon size of your rating block. And as for the y value of the background-position, it&amp;#39;s -48 (which is -2*24).&lt;/p&gt;
&lt;p&gt;
	So in order to RTL all of our available sizes we need to copy that line and only change the 24 and double it to get our corresponding value.&lt;/p&gt;
&lt;p&gt;
	Where can you be sure? Go to the css directory in your &lt;code&gt;gd-star-rating&lt;/code&gt; directory at &lt;code&gt;/wp-content/plugins/gd-star-rating/css&lt;/code&gt;, open the &lt;code&gt;gdsr.css.php&lt;/code&gt; file and scroll down to line #161 to find where this formula is generated:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:php"&gt;
echo $class." .starsbar.gdsr-size-".$size." .gdinner { background: url('".$url."') repeat-x 0px -".(2 * $size)."px; }\r\n";
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;
	You&amp;#39;ll notice the variable &lt;code&gt;$size&lt;/code&gt; is used and the value is multiplied by 2 to get the value.&lt;/p&gt;
&lt;p&gt;
	See? Peice of cake :) So the updated CSS for the sizes will be as follows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;
.ratingblock .starsbar.gdsr-size-12 .gdinner { background-position:right -24px!important;}
.ratingblock .starsbar.gdsr-size-16 .gdinner { background-position:right -32px!important;}
.ratingblock .starsbar.gdsr-size-20 .gdinner { background-position:right -40px!important;}
.ratingblock .starsbar.gdsr-size-24 .gdinner { background-position:right -48px!important;}
.ratingblock .starsbar.gdsr-size-30 .gdinner { background-position:right -60px!important;}
.ratingblock .starsbar.gdsr-size-46 .gdinner { background-position:right -92px!important;}
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;
	The source code is available to download and the one in the previous post is updated as well.&lt;/p&gt;
&lt;p&gt;
	Enjoy!&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IA0xbjq9iWPg8hz2c3jWK2EhaxY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IA0xbjq9iWPg8hz2c3jWK2EhaxY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IA0xbjq9iWPg8hz2c3jWK2EhaxY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IA0xbjq9iWPg8hz2c3jWK2EhaxY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/yK22hBrVcm0" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/tutorial/rtling-gd-star-rating-plugin-wp-part-2-fixing-different-icon-sizes#comments</comments>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <category domain="http://rtl-this.com/category/tags/level/intermediate">intermediate</category>
 <category domain="http://rtl-this.com/category/tags/php">php</category>
 <category domain="http://rtl-this.com/category/tags/plugin">plugin</category>
 <category domain="http://rtl-this.com/category/tags/wordpress">wordpress</category>
 <pubDate>Mon, 15 Mar 2010 22:06:37 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">30 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/tutorial/rtling-gd-star-rating-plugin-wp-part-2-fixing-different-icon-sizes</feedburner:origLink></item>
<item>
 <title>RTLing Superfish Menu (jQuery Plugin)</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/CVn7kC8TYXk/rtling-superfish-menu-jquery-plugin</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&lt;em&gt; Thank you Rami for the suggestion. &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Superfish is a very famous jQuery plugin that allows you to add eye-catching effects to dropdown menus (&amp;lt;ul&amp;gt;). It works perfectly in major browsers (including IE6 with some style limitations) too. Well in RTL..it's just not there..so we're going to RTL this one.&lt;/p&gt;
&lt;p&gt;What makes the superfish a very good plugin is that it doesn't specify or affect the layout/style of the menu itself, that's the CSS's job. That's why when you download the plugin with its example, you get one javascript file(superfish.js) which is responsible of the effect of showing/hiding menu items; and multiple CSS files for each style or type(horizontal, vertical and navbar).&lt;/p&gt;
&lt;p&gt;So what does that mean? RTLing this plugin is nothing more than RTLling the CSS using the very old and same method (flipping the properties/values).&lt;/p&gt;
&lt;p&gt;First, &lt;a title="Superfish Download Page" href="http://users.tpg.com.au/j_birch/plugins/superfish/#download"&gt;download&lt;/a&gt; the superfish plugin with its example (latest version at the moment of writing this tutorial is 1.4.8)&lt;/p&gt;
&lt;p&gt;Second, open the &lt;code&gt;superfish.css&lt;/code&gt;, &lt;code&gt;superfish-vertical.css&lt;/code&gt; and &lt;code&gt;superfish-navbar.css&lt;/code&gt; and flip the properties.&lt;/p&gt;
&lt;p&gt;The most important part to flip is the one labeled with "/*** ESSENTIAL STYLES ***/" at the beginning of the superfish.css. Scan through the rules to point out the values to flip. The flipped CSS rules will be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;
/*** ESSENTIAL STYLES ***/
.sf-menu li {float:right;}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {right:0;left:auto;}

ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {right:10em; left:auto;}

ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {right:10em; left:auto;}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This method of flipping overrides the original stylesheet in a new one. It is used more in multilingual websites where both directions are included. Learn more about it at the tutorial "&lt;a href="http://rtl-this.com/tutorial/3-different-ways-rtl-your-css"&gt;3 Different Ways to RTL your CSS&lt;/a&gt;". You can directly modify the files if it's not your case.&lt;/p&gt;
&lt;p&gt;Then flip the /*** DEMO SKIN ***/ styles using the same rules in addition to the other CSS files. Below is the CSS for the default skin:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;
/*** DEMO SKIN ***/
.sf-menu {float:right;}
.sf-menu a {border-right:1px solid #fff; border-left:none;}

/*** arrows **/
.sf-menu a.sf-with-ul {padding-left:2.25em; padding-right:1em;}
.sf-sub-indicator {right:auto;left:.75em; background-image:url('../images/arrows-ffffff-rtl.png');}
.sf-shadow ul {
	padding:0 0 9px 8px; background-position:left bottom;

	border-top-left-radius: 17px;
	border-bottom-right-radius: 17px;
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-left-radius: 0;

	-moz-border-radius-bottomright: 17px;
	-moz-border-radius-topleft: 17px;
	-webkit-border-top-left-radius: 17px;
	-webkit-border-bottom-right-radius: 17px;
	border-top-left-radius: 17px;
	border-bottom-right-radius: 17px;
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;What's left is the background images. You can ignore flipping rules that style the arrows(background images) since it's a &lt;a href="http://css-tricks.com/css-sprites/" title="CSS Sprites: What They Are, Why They're Cool, and How To Use Them ..."&gt;CSS Sprite&lt;/a&gt; and background images are calculated exactly. All you need is flipping the arrows-ffff.png image horizontally and use the flipped one instead.&lt;/p&gt;
&lt;p&gt;Guess what? That's it! Your menu is now functioning perfectly in RTL as it is in LTR.&lt;/p&gt;
&lt;p&gt;If you're using superfish in your drupal installation(check the &lt;a href="http://adaptivethemes.com/add-superfish-drop-menus-to-any-theme-easily" title="Add Superfish Drop Menus to Any Theme, Easily"&gt;tutorial at adaptivethemes.com&lt;/a&gt; to do this), uploading the superfish-rtl.css style sheet will get it automatically included by drupal when the page is switched to an RTL language.
&lt;/p&gt;
&lt;p&gt;Check the Demo and/or download the Source files of the RTLed styles. Enjoy it!&lt;/p&gt;
&lt;h3&gt;Update @01-03-2010 14:00&lt;/h3&gt;
&lt;p&gt;Added a quick fix for IE6 RTL issues, both demo and source are updated.&lt;/p&gt;
&lt;h3&gt;Update @01-03-2010 14:35&lt;/h3&gt;
&lt;p&gt;Updated fixes to include IE7. Will address the issues in a separate tutorials&lt;/p&gt;
&lt;div class="field field-type-text field-field-demo-link"&gt;
    &lt;div class="field-items"&gt;
            &lt;div class="field-item odd"&gt;
                    &lt;p&gt;&lt;a href="http://rtl-this.com/userfiles/demos/superfish/index.html"&gt;Demo&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wChoTc1xtLb_f_boAoPXh1U1wEo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wChoTc1xtLb_f_boAoPXh1U1wEo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wChoTc1xtLb_f_boAoPXh1U1wEo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wChoTc1xtLb_f_boAoPXh1U1wEo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/CVn7kC8TYXk" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/tutorial/rtling-superfish-menu-jquery-plugin#comments</comments>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <category domain="http://rtl-this.com/category/tags/javascript">javascript</category>
 <category domain="http://rtl-this.com/category/tags/jquery">jquery</category>
 <category domain="http://rtl-this.com/category/tags/plugin">plugin</category>
 <pubDate>Sat, 20 Feb 2010 23:50:40 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">28 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/tutorial/rtling-superfish-menu-jquery-plugin</feedburner:origLink></item>
<item>
 <title>3 Different Ways to RTL your CSS</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/E7pMmvpa0h0/3-different-ways-rtl-your-css</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;There are three major ways I prefer to use when RTLing a webpage. Each one has its own pros and cons. They are actually the same..flipping CSS properties and rules is the same procedure in all ways. What's different is &lt;em&gt;where&lt;/em&gt; and &lt;em&gt;how&lt;/em&gt; are we flipping them.&lt;/p&gt;
&lt;!--break--&gt;&lt;!--break--&gt;&lt;h2&gt;1- Same file.&lt;/h2&gt;
&lt;p&gt;The method used in the first &lt;a href="http://rtl-this.com/tutorial/rtling-hello-world-webpage-rtling"&gt;RTL a webpage tutorial&lt;/a&gt;. We simply open the orignal CSS file and scan it for CSS rules to flip till we reach the end of file, save and it's RTLed.&lt;/p&gt;
&lt;h3&gt;PROs:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;No extra files or CSS rules.&lt;/li&gt;
&lt;li&gt;Which means no extra HTTP requests, bandwidth&amp;nbsp;or much effort.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Cons:&lt;/h3&gt;
&lt;p&gt;Useless if we're running a multilingual website..because we need both directions (if we're using bidirectional websites).&lt;/p&gt;
&lt;h2&gt;&amp;nbsp;2- Independent Separate Files.&lt;/h2&gt;
&lt;p&gt;This method is the same as first one but instead of modifying the original stylesheet, we copy it (say styles-rtl.css) and modify that one.&lt;/p&gt;
&lt;h3&gt;PROs:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;We maintain the styles for both directions. So we serve the appropriate stylesheet according to the current language of the page.&lt;/li&gt;
&lt;li&gt;No extra files or CSS rules *&lt;/li&gt;
&lt;li&gt;Which means no extra HTTP requests or bandwidth **&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;*Assuming we didn't have to add bug fixes (*cough*IE*cough*)!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;** Remember we're serving only one style sheet in the page&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;CONs:&lt;/h3&gt;
&lt;p&gt;Hard to maintain and too much redundant CSS rules. For example, a CSS rule like &lt;code&gt;a{color:red;}&lt;/code&gt; will be duplicated in both files. And if you wanted to change it to green, you'll have to do it twice in both files.&lt;/p&gt;
&lt;h2&gt;&amp;nbsp;3- Dependent Separate Files.&lt;/h2&gt;
&lt;p&gt;This method is a mix of the first two. We have 2 seperate files, but the second one only contains flipped CSS rules. For example if we're styling links in &lt;code&gt;styles.css&lt;/code&gt; as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;a{color:red; margin-left:10px;}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;in the &lt;code&gt;styles-rtl.css&lt;/code&gt; stylesheet we'll only include the flipped rule:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;a{margin-right:10px;}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And then we link both:&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:html"&gt;
&amp;lt;link rel="stylesheet" type="text/css" href="styles.css"/&amp;gt;
&amp;lt;link rel="stylesheet" type="text/css" href="styles-rtl.css"/&amp;gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Make sure you include the overriding stylesheet after the original one to ensure the rules are overriden.&lt;/p&gt;
&lt;p&gt;But notice that the link in RTL now has a &lt;code&gt;margin-left&lt;/code&gt; of &lt;code&gt;10px&lt;/code&gt; &lt;strong&gt;AND&lt;/strong&gt; a &lt;code&gt;margin-right&lt;/code&gt; of &lt;code&gt;10px&lt;/code&gt; which is not what we want. We want the &lt;code&gt;margin-left&lt;/code&gt; to &lt;strong&gt;be&lt;/strong&gt; a &lt;code&gt;margin-right&lt;/code&gt;. In that case we &amp;quot;reset&amp;quot; the &lt;code&gt;margin-left&lt;/code&gt; like below:&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="background-color: rgb(231, 231, 231); "&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="brush:css"&gt;a {margin-left:0; margin-right:10px;}&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;
&lt;h3&gt;PROS:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Easy to maintain and modify. RTLed rules are much less and don't get frequently changed as much as the other ones. Now changing the color of the red link to green is going to be in one stylesheet only since it's not repeated in the flipped one.&lt;/li&gt;
&lt;li&gt;Great to use in big multilingual websites.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;CONs:&lt;/h3&gt;
&lt;p&gt;Extra files/size, 1 extra HTTP request. This can be avoided by merging the two files into one for your online deployment when you're all done. You can also compress it too for a smaller file size.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How do you RTL your CSS? Which method of the 3 do you prefer? Or is there a different one?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sCMeDz6GzL0sNiSl5ehtOqFyI88/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sCMeDz6GzL0sNiSl5ehtOqFyI88/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sCMeDz6GzL0sNiSl5ehtOqFyI88/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sCMeDz6GzL0sNiSl5ehtOqFyI88/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/E7pMmvpa0h0" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/tutorial/3-different-ways-rtl-your-css#comments</comments>
 <category domain="http://rtl-this.com/category/tags/level/beginner">beginner</category>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <pubDate>Wed, 17 Feb 2010 11:28:07 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">27 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/tutorial/3-different-ways-rtl-your-css</feedburner:origLink></item>
<item>
 <title>RTLing GD Star Rating Plugin (WP) (UPDATED)</title>
 <link>http://feedproxy.google.com/~r/rtl-this/~3/KcK8dKtyTYY/rtling-gd-star-rating-plugin-wp</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&lt;a href="http://wordpress.org/extend/plugins/gd-star-rating/" title="Rating WP Plugin"&gt;GD Star Rating&lt;/a&gt; is a &lt;a href="http://wordpress.org" title="Blogging Platform/CMS"&gt;WordPress&lt;/a&gt; plugin that allows your blog readers to rate your posts and pages. It is extremely flexible when it comes to appearance and language support*. Graphics and text are controllable via the plugin dahsboard. Even in RTL, the rating block is properly aligned (not 100%).&lt;br /&gt;
&lt;img src="/userfiles/image/screenshot-gd-star-rating.png" alt="Example of a rating blog of a WP post" height="81" width="258" /&gt;&lt;/p&gt;
&lt;p&gt;The problem is in the stars mainly...When you hover your mouse over the first star from the right, it should be the lowest rating button (1/10 for example). In RTL it's the opposite..the first star is actually the highest rate. Check the screenshot below:&lt;br /&gt;
&lt;img src="/userfiles/image/screenshot-gd-star-rating-rtl.png" alt="Rating block's problem in RTL. First Star is actually the last one" height="67" width="474" /&gt;&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Overriding the CSS (using FireBug) resulted with this very small CSS addition that should solve the problem. Append the below styles to your stylesheet (Dashboard -&amp;gt; Appearance -&amp;gt; Editor, edit the Stylesheet styles.css) and save. Voila!&lt;/p&gt;
&lt;p&gt;&lt;img src="/userfiles/image/screenshot-gd-star-rating-rtled.png" alt="Rating block RTLed" height="74" width="276" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;
.gdthumb a,.ratepost .starsbar a,.rcmmpost .starsbar a,.ratemulti .starsbar a,.rcmmmulti .starsbar a,.ratecmm .starsbar a,.reviewcmm .starsbar a{right:0!important; left:auto!important;}
.gdthumbtext, .gdthumb,.thumblock .ratingloader ,.raterleft,.ratingtextmulti,.ratingstarsinline{ float: right!important;}
.raterright,.ratingbutton{ float: left!important; }
.mtrow td.mtstars,.gdouter,.loader{text-align:right!important;} &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The CSS is available to be downloaded below. Hope you enjoy this quick tweak.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;*Regarding the language support. I couldn't find a template for the Arabic translation for the plugin online. I'll work on translating the default values and post it soon. If anyone has (or know someone who has) translated it let me know please :)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE(08-02-2010 @15:10):&lt;/strong&gt; I missed an extra RTL issue which can be fixed by adding the below CSS rule.&lt;/p&gt;
&lt;p&gt;&lt;pre class="brush:css"&gt;
.ratingblock .starsbar.gdsr-size-24 .gdinner { background-position:right -48px!important;} &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It fixes the background images'(stars) alignment which was causes rating to look like this:&lt;br /&gt;
&lt;img src="/userfiles/image/screenshot2-gd-star-rating-rtl.png" alt="Another RTL Issue in the rating block caused by the background-image property" height="31" width="249" /&gt;
&lt;/p&gt;
&lt;p&gt;
The source code is updated as well.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE(08-02-2010 @15:35):&lt;/strong&gt;&lt;em&gt;Also note this is a quick fix to the default settings (yellow stars with size of 24px). Will post a separate post to fix this for all types and sizes.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE(16-03-2010 @12:02):&lt;/strong&gt;&lt;em&gt;Updated fix is available at the subpost next&lt;/em&gt;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/n9g_ah-NfW4LUF8VNjgFHVVr4Ig/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n9g_ah-NfW4LUF8VNjgFHVVr4Ig/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/n9g_ah-NfW4LUF8VNjgFHVVr4Ig/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n9g_ah-NfW4LUF8VNjgFHVVr4Ig/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/rtl-this/~4/KcK8dKtyTYY" height="1" width="1"/&gt;</description>
 <comments>http://rtl-this.com/tutorial/rtling-gd-star-rating-plugin-wp#comments</comments>
 <category domain="http://rtl-this.com/category/tags/css">css</category>
 <category domain="http://rtl-this.com/category/tags/plugin">plugin</category>
 <category domain="http://rtl-this.com/category/tags/widget">widget</category>
 <category domain="http://rtl-this.com/category/tags/wordpress">wordpress</category>
 <pubDate>Sat, 06 Feb 2010 12:30:47 +0000</pubDate>
 <dc:creator>nightS</dc:creator>
 <guid isPermaLink="false">26 at http://rtl-this.com</guid>
<feedburner:origLink>http://rtl-this.com/tutorial/rtling-gd-star-rating-plugin-wp</feedburner:origLink></item>
</channel>
</rss>
