English 中文(简体)
JQuery 可恢复演示站点
原标题:JQuery Resizable demo site
  • 时间:2012-05-23 14:48:41
  •  标签:
  • jquery
  • html

我是JQuery的新人,我正试图将 JQueryUI 重新纳入我的代码。但使用中给出的例子,我实施起来并不容易。 http://jqueryui.com/demos/resposable/#default" rel=“nofollow”>demo网站

能否请某些网站提供其他的范例?

最佳回答

你需要做的是,有以下。 。 。

<script src="http://www.google.com/jsapi"></script>
<script>google.load("jquery", 1.7.1 );</script>
<script>google.load("jqueryui", "1");</script>
<link type="text/css" rel="Stylesheet" href="http://ajax.microsoft.com/ajax/jquery.ui/1.8.5/themes/redmond/jquery-ui.css" />​
  1. google script just prepares googles cdn
  2. google.load()// it loads jquery and jquery ui (javascript only)
  3. You need the jqui css

http://jsfiddle.net/cKsj3/

解释:

The above are CDN meaning hosted on google or microsoft so I dont have to, to show to you. but on jquery UI you need to download a theme there.

并取取以下文件

jquery core js
jquery ui js
jquery ui css
jquery images provided...

因此,你把它们放在您的主机上,例如:public_html。

然后将它们和上面一样链接起来,但酌情更改 rc 和 href 。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签