473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

ASP.Net SlideShow

I am making a slideshow that I want my friends to be able to view.
Right now I have created an aspx page which does this fine that has 5
thumbnails at the top, a previous and next button, a drop down menu to
jump to a certain image, and the main image itself. My question is
that I want to know how to automate the slideshow so that it advances
images every 3 seconds or so. I've been working on this for awhile but
cant quite get it right.

Apr 3 '06 #1
4 3683
You could use a JavaScript timer to refresh or redirect the page every so
often:
http://www.crowes.f9.co.uk/Javascript/timer.htm

Dart has a really nice AJAX-based timer control, but it may be overkill for
your situation.
http://www.dart.com/LiveTimer.asp

Depending on your design, if its just a matter of refreshing the page you
could use this metatag to refresh every 3 seconds:
<meta http-equiv="refresh" content="3">

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
<mw****@gmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
I am making a slideshow that I want my friends to be able to view.
Right now I have created an aspx page which does this fine that has 5
thumbnails at the top, a previous and next button, a drop down menu to
jump to a certain image, and the main image itself. My question is
that I want to know how to automate the slideshow so that it advances
images every 3 seconds or so. I've been working on this for awhile but
cant quite get it right.

Apr 3 '06 #2
DWS
MWAZIO
Ajax, webservice, nice client effects, hooks to other services, etc.
Fun with IXMLHttpRequest and RSS by Dare Obasanjo
May 15, 2005
http://msdn.microsoft.com/library/de...ml05202005.asp

Good Luck
DWS

"mw****@gmail.com" wrote:
I am making a slideshow that I want my friends to be able to view.
Right now I have created an aspx page which does this fine that has 5
thumbnails at the top, a previous and next button, a drop down menu to
jump to a certain image, and the main image itself. My question is
that I want to know how to automate the slideshow so that it advances
images every 3 seconds or so. I've been working on this for awhile but
cant quite get it right.

Apr 3 '06 #3
I think using the Metatag sounds like a good option though, when I get
the page to refresh, it refreshes to the same "instance" of the aspx
page. I have a method called GetNext(), is there anyway I can pass
that as a URL parameter?

Im kind of new to this and any help would be greatly appreciated.

Apr 3 '06 #4
You could maybe store a counter or flag variable in session state. If it's
1 or true you'd call the GetNext() function from the Page_Load event. Just an idea...

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
<mw****@gmail.com> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...I think using the Metatag sounds like a good option though, when I get
the page to refresh, it refreshes to the same "instance" of the aspx
page. I have a method called GetNext(), is there anyway I can pass
that as a URL parameter?

Im kind of new to this and any help would be greatly appreciated.

Apr 4 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Susanna | last post by:
Hi all, I'm using the following slideshow script that I found on the web to display changing images with a crossfade effect. Eventually I will be adding many more images to the slideshow. The...
2
by: Jeannie | last post by:
I have a popup window which is a slideshow of about 7 images. When the popup window loads, the first image is present and then the viewer can select next or previous to scroll through the rest of...
4
by: Luis Veras | last post by:
I have a slideshow on my main page at www.canvasartists.com. Many of my visitors started to complain that on their screen the slideshow displays as flashing and/or blinking very quickly, and you...
8
by: drillbit_99 | last post by:
I have an HTML page of thumbnail images. Each image can begin a slideshow of the images on the page by clicking on the image. This opens another HTML page that begins the slideshow using large...
11
by: David Graham | last post by:
Hi New to javascript. I'm trying to understand how a script at a website I come across works. http://www.BRPPISAFETY.COM Nearly got it but I have changed the variable called 'crossFadeDuration'...
22
by: bevoldjling | last post by:
Hi ! I need some help in putting together a website for our family gathering. Although I'm still pretty "green", I don't think what I need requires terribly advanced skills ...except for one...
1
by: ttamilvanan81 | last post by:
Hai everyone, I need to provide the slideshow for the images. I have upload the images into database. Then i will retrive all the images from the database and provide the slideshow for those...
2
pradeepjain
by: pradeepjain | last post by:
script> // (C) 2000 www.CodeLifter.com // http://www.codelifter.com // Free for all users, but leave in this header // NS4-6,IE4-6 // Fade effect only in IE; degrades gracefully //...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.