可用的任何內置jstree主題?提供JsTree主題嗎?
回答
1.0rc1.zip沒有包含默認的任何主題,但在http://www.jstree.com可用的1.0rc2.zip包含默認的默認-rtl,apple和classic。這些主題也可以在http://code.google.com/p/jstree/source/checkout的svn版本中找到。
是的。在1.0 (rc2)的使用主題化代碼的一些部分:
$("#tree").jstree({
"themes": {
"theme": "default",
"dots": true,
"icons": true,
"url": "/css/jstree/themes/default/style.css"
},
"plugins" : [ "themes", "ui" ]
});
感謝您的代碼示例 – Germstorm 2011-06-06 09:19:50
,這在2017年2月24日不適用。我用'$ .jstree.defaults.core.themes.variant =「large」解決了它; \t $ .jstree.defaults.core.themes.name =「default-dark」; \t $ .jstree.defaults.core.themes.url =「/public/other-statics/jstree/themes/default-dark/style.min.css」; \t $ .jstree.defaults.core.themes.dir =「/ public/other-statics/jstree/themes /」;' – 2017-02-24 07:53:23
考慮使用這裏記錄的插件的ThemeRoller:http://www.jstree.com/documentation/themeroller
這將使您的應用程序有一個一致的外觀與許多其他的jQuery插件也支持的ThemeRoller。
如前所述,下載zip文件夾包含某些主題。但是你可以從Style.css構造你自己的主題,因爲它很容易構造,保持Style.css爲基礎。 我希望這可以幫助。
- 1. 與jstree更改主題3.0.0
- 2. React樣式組件主題提供程序動態主題
- 3. 更改默認主題,以蘋果jstree
- 4. jsTree JSON問題
- 5. APNS主機提供商
- 6. JSTree格式問題 - jstree圖標右移
- 7. 中斷主循環 - jstree
- 8. CakePHP提供nonce支持嗎?
- 9. WhatsApp提供開放API嗎?
- 10. 將緩存作爲服務提供是個好主意嗎?
- 11. Can Dll可以爲主程序提供模塊性嗎?
- 12. JsTree速度問題
- 13. JStree觀點問題
- 14. WordPress,爲登錄和註銷用戶提供主題Ajax鉤子
- 15. JMS主題爲Glassfish上的訂閱者提供身份驗證
- 16. 什麼網站提供免費的Wordpress主題是安全的?
- 17. 提供從liferay主題導航到控制面板的鏈接
- 18. 從網站提供的自舉主題識別
- 19. 最佳實踐提供多個Android應用主題
- 20. netty http請求getContent有時在主體中提供標題
- 21. 爲jQuery對話框提供不同的主題?
- 22. 主頁面和虛擬路徑提供者的問題
- 23. Opencart 2.2 - 管理面板中不提供新的custome主題
- 24. 與ThemeRoller提供的完全不同的jQuery UI主題
- 25. 什麼是GTK提供的各種主題
- 26. 類型提供程序問題 - 主入口點 - 語法
- 27. Yii的數據提供程序的主題main.php
- 28. Android小工具提供商和主要應用程序問題
- 29. sqlmemebrship提供程序問題
- 30. 提供方法的問題
外面是什麼? - – 2010-06-29 11:09:51