开发者

JQuery issue - http://jqueryui.com/latest/themes/base/ui.all.css not working

I have never used J Query....Was wondering what does the link ..

http://jqueryui.com/latest/themes/base/ui.all.css

link to? One of the websites i have taken over has stopped working. When i take this source out at the top of the page it works, when i put it back in stops working again?

For now i have taken it out, but i assume jquery server has gone down or something. What does this source开发者_Python百科 do and is it ok to leave it out? thanks


jQuery disabled hotlinking to the files hosted on their server. You shouldn't be linking directly like that. Instead use the CDNs offered by google or microsoft.

Use this link for your CSS : http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/base/jquery-ui.css

And the others are available too http://code.google.com/apis/libraries/devguide.html#jqueryUI

This question has answers on how to get the other themes Downloading jQuery UI CSS from Google's CDN


You can use the google server instead. http://www.stemkoski.com/jquery-ui-1-7-2-themes-list-at-google-code/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜