• About
  • Trade
  • Science
  • Eclipse
  • Software
  • Infoq
  • T
  • Projects
  • Contact
  • Thinks
  • | 登录 |

    how to use pagelist tool

    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

    发表评论

    *必填

    *必填 (不会被公开)