我对道场世界还很陌生。将dojo与google的CDN结合使用是非常好的。但是,在使用dijit时,仅使用dojo.require()并不起作用。CDN中的默认CSS主题在哪里??
另一个出自quorisity的问题: dijit的CSS配置是否也适用于dojox?
发布于 2010-05-24 21:47:59
CSS可以在Google的CDN上找到。我在一两个页面中使用过它。这里有一些CSS链接标签。
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/resources/dojo.css">
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dijit/themes/tundra/tundra.css">
与库非常相似,您可以在URL中选择或多或少特定的版本,因此这将获取1.4.x链中的最新版本。
2016年5月19日更新:-
更新版本- 1.10.4
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/resources/dojo.css">
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.10.4/dijit/themes/tundra/tundra.css">
发布于 2013-11-14 22:03:18
这里是1.9.1。
主题测试器:Claro、Tundra、Nihilo和Soria
Claro- http://ajax.googleapis.com/ajax/libs/dojo/1.9.1/dijit/themes/claro/claro.css
发布于 2015-10-13 17:17:02
这里是1.10.4。
主题测试器:Claro、Tundra、Nihilo、Soria
Claro https://ajax.googleapis.com/ajax/libs/dojo/1.10.4/dijit/themes/claro/claro.css
的
https://stackoverflow.com/questions/2899368
复制