2006年11月5日 上午 16:45 | 作者:summer
1.Import prototype.js and pagelist.js
2.define pagelist show node and page content show node
init…
init…
3.define callback function getPage and new PageList
4.PageList.Slider parameters intorduce
parameters are:element, itemsPerPage, items, width, style, callback
element is the node id of where you wish to display the pagelist.
itemsPerPage is the page size.
items is the count of all your record.
width is display pages number.
style is the selected page’s style.
callback is the function of get content function.
No Tags
分类:javascript | 没有评论
2006年11月4日 下午 46:30 | 作者:summer
pagelist tool is used for build pages.
when your data have lots of pages, you could use this tool easily build pagelist to browse your pages.
I suggest use it with DWR, using DWR get serer page content, using this pagelist tool to diplay next page item.
you could download it.
No Tags
分类:dwr | 没有评论
2006年11月3日 上午 26:29 | 作者:summer
分类:dwr | 没有评论
2006年10月30日 下午 33:48 | 作者:summer
Direct Web Remoting
DWR允许使用客户端Javascript来与服务端Java程序进行交互,他实际上是帮助开发者隐藏了很多的开发细节。 不用辛苦的去使用XMLHTTP,DWR是客户端-服务端的AJAX比较好的解决方案。
DWR官方网站:
http://getahead.ltd.uk/
DWR文档中文翻译最佳网站:
http://wiki.javascud.org/display/dwrcn/Home
No Tags
分类:dwr | 没有评论