<gallery title="Tony's Photo Album" thumbDir="./images/thumbs/" imageDir="./images/" random="true">
<category name="Ŀ1">
<image>
<date>03.31.06</date>
<title>View of Seattle</title>
<desc>View of Seattle</desc>
<thumb>seattle5.jpg</thumb>
<img>seattle5.jpg</img>
</image>
<image>
<date>03.31.06</date>
<title>View of Seattle</title>
<desc>View of Seattle</desc>
<thumb>seattle7.jpg</thumb>
<img>seattle7.jpg</img>
</image>
<image>
<date>03.31.06</date>
<title>My Town</title>
<desc>On the way home</desc>
<thumb>seattle10.jpg</thumb>
<img>seattle10.jpg</img>
</image>
</category>
<category name="Wedding">
<image>
<date>02.44.04</date>
<title>La Jolla Wedding</title>
<desc>La Jolla Wedding</desc>
<thumb>wedding1.jpg</thumb>
<img>wedding1.jpg</img>
</image>
<image>
<date>05.13.05</date>
<title>Amazing Kiss</title>
<desc>Amazing Kiss</desc>
<thumb>wedding2.jpg</thumb>
<img>wedding2.jpg</img>
</image>
<image>
<date>11.21.05</date>
<title>Wedding Time</title>
<desc>Bride smiling</desc>
<thumb>wedding3.jpg</thumb>
<img>wedding3.jpg</img>
</image>
<image>
<date>02.44.04</date>
<title>10th anniversary</title>
<desc>Picture taken on our 10th anniversary.</desc>
<thumb>wedding4.jpg</thumb>
<img>wedding4.jpg</img>
</image>
<image>
<date>05.13.05</date>
<title>SD wedding</title>
<desc>Wedding at SD convention center</desc>
<thumb>wedding5.jpg</thumb>
<img>wedding5.jpg</img>
</image>
<image>
<date>11.21.05</date>
<title>Wedding Time</title>
<desc>Wedding photo</desc>
<thumb>wedding6.jpg</thumb>
<img>wedding6.jpg</img>
</image>
<image>
<date>06.14.06</date>
<title>Togetherness</title>
<desc>Wedding ceremony in Hawaii</desc>
<thumb>wedding7.jpg</thumb>
<img>wedding7.jpg</img>
</image>
</category>
<category name="View of Asia">
<image>
<date>04.01.06</date>
<title>Bangkok</title>
<desc>Bankok</desc>
<thumb>bangkok1.jpg</thumb>
<img>bangkok1.jpg</img>
</image>
<image>
<date>04.01.06</date>
<title>Bangkok</title>
<desc>Bankok</desc>
<thumb>bangkok2.jpg</thumb>
<img>bangkok2.jpg</img>
</image>
<image>
<date>04.01.06</date>
<title>shopping in Singapore</title>
<desc>shopping in Singapore Lau Pa Sat Festival Market Great place to drink & eat your lobsters..</desc>
<thumb>sin.jpg</thumb>
<img>sin.jpg</img>
</image>
<image>
<date>04.01.06</date>
<title>China Town Mexico</title>
<desc>Chinese lion head over drums</desc>
<thumb>china1.jpg</thumb>
<img>china1.jpg</img>
</image>
<image>
<date>04.05.06</date>
<title>little bells</title>
<desc>voice from the thailand's temple</desc>
<thumb>bell.jpg</thumb>
<img>bell.jpg</img>
</image>
<image>
<date>04.08.06</date>
<title>Green tea farm</title>
<desc>Daehan green tea farm: Boseong, South Korea</desc>
<thumb>korea1.jpg</thumb>
<img>korea1.jpg</img>
</image>
</category>
</gallery>
<category name="Ŀ1">
<image>
<date>03.31.06</date>
<title>View of Seattle</title>
<desc>View of Seattle</desc>
<thumb>seattle5.jpg</thumb>
<img>seattle5.jpg</img>
</image>
<image>
<date>03.31.06</date>
<title>View of Seattle</title>
<desc>View of Seattle</desc>
<thumb>seattle7.jpg</thumb>
<img>seattle7.jpg</img>
</image>
<image>
<date>03.31.06</date>
<title>My Town</title>
<desc>On the way home</desc>
<thumb>seattle10.jpg</thumb>
<img>seattle10.jpg</img>
</image>
</category>
<category name="Wedding">
<image>
<date>02.44.04</date>
<title>La Jolla Wedding</title>
<desc>La Jolla Wedding</desc>
<thumb>wedding1.jpg</thumb>
<img>wedding1.jpg</img>
</image>
<image>
<date>05.13.05</date>
<title>Amazing Kiss</title>
<desc>Amazing Kiss</desc>
<thumb>wedding2.jpg</thumb>
<img>wedding2.jpg</img>
</image>
<image>
<date>11.21.05</date>
<title>Wedding Time</title>
<desc>Bride smiling</desc>
<thumb>wedding3.jpg</thumb>
<img>wedding3.jpg</img>
</image>
<image>
<date>02.44.04</date>
<title>10th anniversary</title>
<desc>Picture taken on our 10th anniversary.</desc>
<thumb>wedding4.jpg</thumb>
<img>wedding4.jpg</img>
</image>
<image>
<date>05.13.05</date>
<title>SD wedding</title>
<desc>Wedding at SD convention center</desc>
<thumb>wedding5.jpg</thumb>
<img>wedding5.jpg</img>
</image>
<image>
<date>11.21.05</date>
<title>Wedding Time</title>
<desc>Wedding photo</desc>
<thumb>wedding6.jpg</thumb>
<img>wedding6.jpg</img>
</image>
<image>
<date>06.14.06</date>
<title>Togetherness</title>
<desc>Wedding ceremony in Hawaii</desc>
<thumb>wedding7.jpg</thumb>
<img>wedding7.jpg</img>
</image>
</category>
<category name="View of Asia">
<image>
<date>04.01.06</date>
<title>Bangkok</title>
<desc>Bankok</desc>
<thumb>bangkok1.jpg</thumb>
<img>bangkok1.jpg</img>
</image>
<image>
<date>04.01.06</date>
<title>Bangkok</title>
<desc>Bankok</desc>
<thumb>bangkok2.jpg</thumb>
<img>bangkok2.jpg</img>
</image>
<image>
<date>04.01.06</date>
<title>shopping in Singapore</title>
<desc>shopping in Singapore Lau Pa Sat Festival Market Great place to drink & eat your lobsters..</desc>
<thumb>sin.jpg</thumb>
<img>sin.jpg</img>
</image>
<image>
<date>04.01.06</date>
<title>China Town Mexico</title>
<desc>Chinese lion head over drums</desc>
<thumb>china1.jpg</thumb>
<img>china1.jpg</img>
</image>
<image>
<date>04.05.06</date>
<title>little bells</title>
<desc>voice from the thailand's temple</desc>
<thumb>bell.jpg</thumb>
<img>bell.jpg</img>
</image>
<image>
<date>04.08.06</date>
<title>Green tea farm</title>
<desc>Daehan green tea farm: Boseong, South Korea</desc>
<thumb>korea1.jpg</thumb>
<img>korea1.jpg</img>
</image>
</category>
</gallery>
解决方案 »
- 调用时间问题
- jquery查找一片文章中所有img并显示其src属性
- onmouseout 问题,请高人指点
- 【求助】请问论坛上的在线编辑器怎么写的呢
- select下拉选项显示提示的问题
- 如何出现一个没有菜单栏、没有工具、栏宽高都为100的 主页(不是后来弹出来的)
- 怎么样令一个页面实际上是存在但是不让用户看到?(隐形)
- 怎么样才能不让用户看了我的html代码?
- 如何删除由动态生成的表格的行?---
- 苦苦苦,请各位JS的高手帮帮忙,关于字符串合成的问题!
- MzTreeView2.0如何将选中复选框checkbox的值提取出来?反之根据值选中复选框?
- 为什么地直栏中,有的字体是黑色,有时是浅色的?
<gallery title="Tony's Photo Album" thumbDir="./images/thumbs/" imageDir="./images/" random="true">
这个数据说明了图片文件夹的位置
<category name="View of Asia">
这个是图片栏目.
<image>
这个图片数据,里面是他的属性.图片名啊等等.
我要的数据是用字符取出相关栏目,把里面的每一条图片数据的分属性取出到变量.
请问高手,JS里怎么去读出我要数据并对其进行分页..