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

    介绍一个FireFox下调试网页的工具

    2007年01月11日 下午 40:37 | 作者:summer

    这个FireFox插件,叫做FireBug。

    https://addons.mozilla.org/firefox/recommended/ 找到它,点击Install now即可,也可以到 http://www.getfirebug.com/ 下载最新版

    它能做的事情:

    1、调试javascript,可单步调试。

    2、提示网页中的javascript,css,html错误。

    3、查看XMLHttp请求。

    不知道你看了介绍有没有心动呢?工欲善其事必先利其器。

    一个好工具可以Make us work happy :)

    No Tags

    javascript format tools

    2007年01月9日 下午 15:42 | 作者:summer

    收集了几个简单的函数。
    格式化时间的函数:
    http://www.mattkruse.com/javascript/date/

    非常简单的格式化金额的函数:
    http://www.rgagnon.com/jsdetails/js-0076.html
    ps:看到google上有人搜索”javascript format钱”,哈哈,应该搜索”javascript format money”

    No Tags

    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