随笔分类 -  jQuery

摘要:在使用jqplot生成柱状图的时候我们经常需要自定义柱状图的颜色,网上给的方法是添加以下代码:seriesColors: ["#F39801", "#29A7E1", "#8FC320", "#E71873"],如果是有多个series,这样设置就可以了。但是如果只有一个series就不行了,还需要设置以下属性:varyBarColor: true,最后生成的图表如下所示: 阅读全文
posted @ 2014-03-31 15:04 johLife 阅读(647) 评论(0) 推荐(0)
摘要:原文地址:http://geekswithblogs.net/SoYouKnow/archive/2011/08/20/a-dummies-guide-to-sharepoint-and-jqueryndashgetting-amp-setting-sharepoint.aspx<< SharePoint Saturday: The Conference–Slides and Wrap Up | Home | Don’t be “That Company”… Allow your employees to work from home… >>A Dummies Guid 阅读全文
posted @ 2012-08-27 11:01 johLife 阅读(326) 评论(0) 推荐(0)
摘要:使用jquery.SPServices查询文档库里的某一个文档,需要设置CAMLQueryOptions属性,<ViewAttributes Scope="RecursiveAll" />才能查询出来,取值的时候需要使用SPFilterNode("z:row") $().SPServices({ operation: "GetListItems", async: false, listName: "Test Documents", CAMLQuery: "<Query><Wh 阅读全文
posted @ 2012-05-23 15:34 johLife 阅读(891) 评论(4) 推荐(0)
摘要:The “lightbox” is a unique and useful design tool when used properly. It allows designers to present information that is totally independent from the site theme, and it is especially useful when displaying information that is loaded via AJAX requests (often negating the need for additional post-back 阅读全文
posted @ 2012-04-25 15:58 johLife 阅读(498) 评论(0) 推荐(0)
摘要:原文地址:http://sharepoint-works.blogspot.com/2012/02/cascading-dropdown-or-filtered-values.htmlSharepoint 下拉菜单联动Cascading dropdown (or) Filtered Values in Lookup Columns in SharePointTo know about the basics of Lookup Columns read this article.Also, to know about the Enhancements of Lookup columns in S 阅读全文
posted @ 2012-04-24 14:09 johLife 阅读(521) 评论(0) 推荐(0)
摘要:Already since a long time I’ve been thinking about a web part that would search-as-you-type using SharePoint’s search engine. The idea behind this concept is that while you’re typing a query in the search box, asynchronously the query is already executed and the results are being displayed. Every ti 阅读全文
posted @ 2011-04-02 13:47 johLife 阅读(385) 评论(0) 推荐(0)
摘要:Moss2007 jQuery调用Webservice获取列表数据 更新数据1、获取数据如下:<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script><script type="text/javascript">//-------------------------异步获取数据//------------------------------------ 阅读全文
posted @ 2011-03-17 11:15 johLife 阅读(637) 评论(0) 推荐(0)