Results 1 to 2 of 2

Thread: Arabic Language (rtl) Chrome Menu

  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Arabic Language (rtl) Chrome Menu

    Hi All

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

    http://www.dynamicdrive.com/dynamici...rome/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

  2. #2
    Join Date
    May 2007
    Posts
    23
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Post

    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
    Code:
    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •