如何使用“上一个",“下一个"按钮查看大照片.当我们点击图片库时 [英] How to view large photo with Prev, Next button. when we click on image gallery

查看:76
本文介绍了如何使用“上一个",“下一个"按钮查看大照片.当我们点击图片库时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站中,使用asp.net中的数据列表控件实现了图片库.
Imagebutton与图像名称进行数据绑定.这样我们就可以正确显示图片库.
在客户端单击imagebutton时,我将baounded值传递给脚本端的函数,它显示为大图像.但是大图.
在此左侧和右侧需要放置一个下一个",上一个"按钮.因此在这一部分中没有数据限制概念.

In my website implemented a image gallery using Datalist controls in asp.net.
Imagebutton is databound with image name. So we can show imagegallery properly.
On client click of imagebutton I pass baounded value to a function in script side and it is showing as large image. But in large image .
In this left and right sides need to place a Next, Previous button .But larger image is showing by javascript code , image shown on a larger div. so in this portion no data bounding concept.
How can we implement.

推荐答案

hi vipin,
您可以使用灯箱js

链接 http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm [ ^ ]

如果您在实施相同的
时发现任何问题,请告诉我
;)享受
hi vipin,
You can use the lightbox js

link http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm[^]

Let me know if you find any problem in implementing the same

;) Enjoy


这篇关于如何使用“上一个",“下一个"按钮查看大照片.当我们点击图片库时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆