Click here to Skip to main content
14,174,026 members
Rate this:
 
Please Sign up or sign in to vote.
I want to change a ltr theme to rtl.
I don't want to manipulation css of theme.
I want to add a code of jquery or javascript to it for do this operation(ltr to rtl) in client
Posted
Updated 26-Dec-14 10:14am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Refer - http://www.w3schools.com/cssref/tryit.asp?filename=trycss_js_direction[^]
function myFunction() {
    document.getElementById("myDIV").style.direction = "rtl";
}
   
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

I used grunt-flipcss
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190524.3 | Last Updated 27 Dec 2014
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100