开发者

google.Load jQuery UI Specific CSS

开发者 https://www.devze.com 2023-01-24 22:48 出处:网络
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.

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

精彩评论

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