开发者

google.Load jQuery UI Specific CSS

I am loading jQuery UI as

google.load("jqueryui", "1.8.6");

from the Google CDN And I want the theme UI Darkness to be associated with it. Any other methods other than

<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-darkness/jquery-ui.css" />

Something 开发者_运维技巧like

google.load("jqueryui", "1.8.6","{theme: 'UI-Darkness'}");


So far google loader doesn't support this syntax for jqueryui, you can check the documentation here.

http://code.google.com/intl/zh-CN/apis/loader/#GoogleLoad

I think refer to the link in a tag is still the best way in your case.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜