基于web的技术中,分页是一个老的不能再老的,但大家津津乐道的问题,随着xml技术的日渐应用,把xml应用到分页当中,也是一种可能,当然网上的教程很多,当我都是看得稀里糊涂,索性自己写一个,与大家分享、指正。
共有两个文件tmh.htm & tt.xml
源代码如下:
tmh.htm
___________________________________________________
New Document //下面是tt.xml的代码海仔 rautinee rautinee@btamail.net.cn 刚强 hehe rautinee@chinamanagers.com 金华刚 nature_it rautinee_sea@hotmail.com 的简强 tank tank@163.com 合资 kaka kaka@eyou.com 加个人 apple apple@163.com null sunny rautinee@eyou.com 宝贝 index rautinee@21cn.com null login webmaster@chinamanagers.com jiang 123 japing@chianmanagers.com null world rautinee@21cn.com null swallow swallow@chinamanagers.com 魏格 hotmail rautinee_sea@hotmail.com null wrong wrong@chinamanagers.com null leah leah@chinamanagers.com null ttth rautinee@21cn.com
目前好像是只支持>IE5.0
以上就是详细介绍如何使用javascript+xml实现分页的内容,更多相关内容请关注PHP中文网(www.php.cn)!











