PDA

View Full Version : Arabic Language (rtl) Chrome Menu



imransubhani
10-09-2009, 11:03 AM
Hi All

I want to use this menu for Arabic Language (which is Right to left).

http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

I faced following problems and all my efforts wasted yet.

1- In FF, submenu appears along with left corner of main Item... it should be on right of it.
2- In IE it just apears far away from related parent item. again it should be right aligned to parent ITEM


Please Please Please
HELP ME

Thanking in Advance
IMRAN SUBHANI

dj30324
10-10-2009, 01:58 AM
Imran are you sure that your thread is related to ASP script? your thread is strictly related to css/javascript, any way i ll answer your question is is very easy you just have to change couple of words in chromestyle.css

in chrome.js
find this line

var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop


change word left to right if you want to do right to left in arabic
their are more words left in . js that said left that need to change to right just change it thats all . and u dont need to change anything in chromestyle.css. and that should resolve the problem