4

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'}");
1

1 Answer 1

2
+50

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.