jQuery EasyUI Diperpanjang - Dukungan RTL
File RTL mengandung
Untuk mengaktifkan fungsi RTL, harus berisi 'easyui-rtl.css' dan file '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"> <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"> </ script>
RTL menambahkan properti
Jangan lupa untuk menambahkan 'dir' label atribut dengan nilai-nilai 'rtl' ke <body>.
<Tubuh dir = "rtl"> <Class Div = "easyui-akordeon" Data-opsi = "fit: true, border: false"> <Div title = "TITLE1" style = "padding: 10px;"> content1 </ Div> <Div title = "Title2" Data-opsi = "dipilih: true" style = "padding: 10px;"> content2 </ Div> <Div title = "TITLE3" style = "padding: 10px"> content3 </ Div> </ Div> </ Body>
Ambil jQuery EasyUI contoh
jQuery EasyUI Diperpanjang