首页 新闻 会员 周边

jquery 图片切换轮转,图片信息从后台得到

-1
悬赏园豆:20 [已解决问题] 解决于 2011-07-05 18:51

<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-01.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-02.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-03.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-04.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-05.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-06.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-07.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-08.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-09.jpg" alt="[Alternative text]" /></a></li><li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-10.jpg" alt="[Alternative text]" /></a></li>

sample-01.jpg,sample-03.jpg,这样的图片名字用后台取得的图片名代替,怎么实现呢?  jstl 能不?怎么做到的

有没有示例?谢谢先

wtx的主页 wtx | 初学一级 | 园豆:160
提问于:2011-06-30 17:59
< >
分享
最佳答案
0

使用jQuery的ajax技术吧,这里可以换成同步ajax请求服务器图片数据,比如返回一个json对象,然后动态的给img标签的src赋值即可.

收获园豆:20
西越泽 | 专家六级 |园豆:10775 | 2011-06-30 18:55
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册