如何在asp.net网页中滑动图像 [英] how to slide images in asp.net web pages

查看:112
本文介绍了如何在asp.net网页中滑动图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将不同的图像放入根目录网站的Image文件夹中,

我需要在网页中滑动这些图像,但是没有想法。在这个项目中需要你的帮助。

请提供代码和详细信息。

先谢谢你们。

i have different images placed into Image folder of root directory website,
i need to slide these images in a web page but dont have idea. Need your help in this project.
Please provide me code and details.
Thanks in advance to you all.

推荐答案

你可以使用jquery滑块进行此参考

http://yeasir007.blogspot.com/2012/12/jquery-image-slider-in-c-aspnet-web-page.html [ ^ ]



另请参阅此链接

http://stackoverflow.com/questions/14969579/why-my-image-slider-not-working-on-other -pages-in-a-subfolder-using-masterpage [ ^ ]
you can use jquery slider for this refer
http://yeasir007.blogspot.com/2012/12/jquery-image-slider-in-c-aspnet-web-page.html[^]

Also refer this link
http://stackoverflow.com/questions/14969579/why-my-image-slider-not-working-on-other-pages-in-a-subfolder-using-masterpage[^]


参考这个



[链接]





Ravi Halvadiya



www.InsightSoftech.com [ ^ ]
Take a reference of this

[Link]


Ravi Halvadiya

www.InsightSoftech.com[^]


您好b $ b

作为主动代码,您可以使用计时器并更改图像的网址



Hi
as a initiative code you can use a timer and change the url of images

int z = 1;
protected void Timer1_Tick(object sender, EventArgs e)

        {
             z++;
            if (z==1)
            Image1.ImageUrl = "1.PNG";
            if (z==2)
            Image1.ImageUrl = "2.PNG";
            ...
        }


这篇关于如何在asp.net网页中滑动图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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