jmpressjs / jmpress.js

A jQuery plugin to build a website on the infinite canvas
http://jmpressjs.github.com/jmpress.js
1.5k stars 237 forks source link

rtl website #96

Open lagrandeours opened 11 years ago

lagrandeours commented 11 years ago

hello, i try to make a website in right to left direction, but i don t know where to change the position of the first step, i try many things in the css, in javascript, need your help,

thanks,

lagrandeours commented 11 years ago

for now i found only this working ... in css

} body { direction: rtl; }

sokra commented 11 years ago

I do not really understand what's the problem...

Would you please prepare a jsfiddle illustrating the problem. :)

shama commented 11 years ago

Try using the dir attribute: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar" dir="rtl">

lagrandeours commented 11 years ago

hi when i try to modifily the "simple" exemple

http://jsfiddle.net/zTQAW/2/

the mater is that the 1st step not come at the right place the coordinate to place the first step are in top to the right it should be on top the left as it's in rtl,

thanks for your help

sokra commented 11 years ago

Seem to be a jmpress bug (or missing support)...

lagrandeours commented 11 years ago

it s not a bug, it s just that the position of the fist step is calucated from the top left of the window, and this even if it s in rtl when i open the website in a big screen i can see that the 1st step have the same coordiate in lrt or rtl but in rtl it float right at this point, how can i change this coordiate and where ... i tryed to change in the script but no change... and you know i m a newby and sorry for my poor english... thanks