使用javascript+xml实现分页

基于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
如果你有什么好的方法和改进,请来信通知我,谢谢。

ok ,just enjoy it ,and good luck

以上就是使用javascript+xml实现分页的详细内容,更多请关注0133技术站其它相关文章!

赞(0) 打赏
未经允许不得转载:0133技术站首页 » XML/RSS