I have four photographs and I want to display on image one by one with delay of five seconds. It just like gif file displaying photographs one after the other or like flash.
I did it through loop but it effecting on the entire page. It must done in such a way that other contents should not effect to this photograph.
Thanks.
Best Regards,
Arshad
Please Mark as Answer if the post is helpful to you.
I visited the link and i come to know how to use Adrotator Control. Thanks to learn a new control. Now i can able to display the images using this control. I take the sample from your link and apply in my web page. But there is one problem is that the image
is rotating whenever the page is referesh.
But my requirement is that i want display continuous images one by one. I don't know how to display one by one, it just like infinate loop. After displaying five images, it should start again and so on continuously.
Hope you understand my requirmenet. Can you give me some logic or if possible write a code for me.
Your answer will be highly appreciated.
Thanks.
Best Regards
Arshad
Please Mark as Answer if the post is helpful to you.
based on your discription, I think the better way to solve that problem is making use of javascript, or you can put imagebutton into ajax- updatepannel to meet your need.
here is javascript code about this issue, you will get some helpful info. hope to help you,thank you.
If i use ajax, does the hosting website contains this kind of facility. I mean to say i need to ask the the hosting website to upgrade my site to add this kind of features. If the hosting have facility of .NET framework, do i need to upgrade.
Anyhow, i visited the link as you recommended but the script it too long. Do you have any other idea which is so simple to use this facility.
I feel Adrotator control best way to approach because of simple and no code to place.
Kindly help me in this regard.
Thanks.
Best Regards,
Arshad
Please Mark as Answer if the post is helpful to you.
arshadtop
Participant
1079 Points
434 Posts
Display Images with delay of five seconds
Jan 30, 2008 05:44 PM|LINK
Hi,
I have four photographs and I want to display on image one by one with delay of five seconds. It just like gif file displaying photographs one after the other or like flash.
I did it through loop but it effecting on the entire page. It must done in such a way that other contents should not effect to this photograph.
Thanks.
Best Regards,
Arshad
EndangeredMa...
Participant
1134 Points
211 Posts
Re: Display Images with delay of five seconds
Jan 30, 2008 06:30 PM|LINK
Your description is far too vague.
If you want to use a delay, try the settimeout function in javascript.
Haissam
All-Star
37421 Points
5632 Posts
Re: Display Images with delay of five seconds
Jan 30, 2008 08:49 PM|LINK
Check below link
Adrotator Control
HC
MCAD.NET
| Blog |
arshadtop
Participant
1079 Points
434 Posts
Re: Display Images with delay of five seconds
Jan 31, 2008 08:04 PM|LINK
Hi Haissam,
Thanks for wonderful link.
I visited the link and i come to know how to use Adrotator Control. Thanks to learn a new control. Now i can able to display the images using this control. I take the sample from your link and apply in my web page. But there is one problem is that the image is rotating whenever the page is referesh.
But my requirement is that i want display continuous images one by one. I don't know how to display one by one, it just like infinate loop. After displaying five images, it should start again and so on continuously.
Hope you understand my requirmenet. Can you give me some logic or if possible write a code for me.
Your answer will be highly appreciated.
Thanks.
Best Regards
Arshad
Hua-Jun Li -...
All-Star
75950 Points
5608 Posts
Re: Display Images with delay of five seconds
Feb 01, 2008 06:54 AM|LINK
Hi,
based on your discription, I think the better way to solve that problem is making use of javascript, or you can put imagebutton into ajax- updatepannel to meet your need.
here is javascript code about this issue, you will get some helpful info. hope to help you,thank you.
http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_53.html
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
arshadtop
Participant
1079 Points
434 Posts
Re: Display Images with delay of five seconds
Feb 01, 2008 09:44 AM|LINK
Hi,
If i use ajax, does the hosting website contains this kind of facility. I mean to say i need to ask the the hosting website to upgrade my site to add this kind of features. If the hosting have facility of .NET framework, do i need to upgrade.
Anyhow, i visited the link as you recommended but the script it too long. Do you have any other idea which is so simple to use this facility.
I feel Adrotator control best way to approach because of simple and no code to place.
Kindly help me in this regard.
Thanks.
Best Regards,
Arshad
arshadtop
Participant
1079 Points
434 Posts
Re: Display Images with delay of five seconds
Feb 01, 2008 04:25 PM|LINK
Hi,
is there any solution to my problem?
Thanks.
haljan
Member
259 Points
50 Posts
Re: Display Images with delay of five seconds
Feb 01, 2008 04:35 PM|LINK
There is two possible solutions to this:
1. Make a flash or silverlight based image rotator
2. Place your adrotator control inside a updatepanel with a timercontrol set to update every 5 seconds. (This option will use javascript)
BillNew
Member
2 Points
14 Posts
Re: Display Images with delay of five seconds
Feb 01, 2008 05:44 PM|LINK
Here's a few pages that do a page slideshow on a web page:
[url]http://www.dynamicdrive.com/dynamicindex14/presentationslide.htm[/url]
[url]http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm[/url]
[url]http://www.dynamicdrive.com/dynamicindex14/carousel.htm[/url]
[url]http://www.dynamicdrive.com/dynamicindex14/flexislide.htm[url]
[url]http://www.dynamicdrive.com/dynamicindex14/pixelate.htm[/url]
I am in no way related to the Dynamic Drive people, but found that their solution works pretty well.
---
When I did my own web page based on images rotating, I put them in a frame to keep to page interactions down.
Hope this helps!
xbhavesh
Member
295 Points
243 Posts
Re: Display Images with delay of five seconds
Feb 01, 2008 05:47 PM|LINK
http://forums.asp.net/t/1214173.aspx
in the time control set the time.
Anything is possible.
If Post.Solved.Problem Then
" Mark As Answer "
End If