Расширения jQuery EasyUI -Поддержка RTL (поддержка RTL)
jQuery EasyUI Расширения
Подключение файлов RTL
Чтобы включить функциональность RTL, необходимо подключить файлы 'easyui-rtl.css' и 'easyui-rtl.js'.
<link rel="stylesheet" type="text/css" href="http://www.w3cschool.cc/try/jeasyui/themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="easyui-rtl.css.html"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="http://www.w3cschool.cc/try/jeasyui/jquery.easyui.min.js"></script> <script type="text/javascript" src="easyui-rtl.js.html"></script>
Добавление атрибута RTL
Не забудьте добавить атрибут 'dir' со значением 'rtl' к тегу <body>.
<body dir="rtl"> <div class="easyui-accordion" data-options="fit:true,border:false"> <div title="Title1" style="padding:10px;"> content1 </div> <div title="Title2" data-options="selected:true" style="padding:10px;"> content2 </div> <div title="Title3" style="padding:10px"> content3 </div> </div> </body>
Скачать примеры jQuery EasyUI
jquery-easyui-rtl.zip
Расширения jQuery EasyUI Другие расширения