473,659 Members | 2,526 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3692
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.c om> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.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.c om" 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.c om> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.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
3991
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 thing is, I ALSO have to make it so the images will load randomly. I have looked at a number of scripts for random-loading slideshows, but I have to find a way to COMBINE this fading-image script (or, a different fading-image script, if...
2
2095
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 the images. I'd like to use the same popup window at different points throughout the website and have the Virtual Tour (slideshow) open up at the appropriate photos. Meaning I'd like to control which picture the popup window opens up to,...
4
1623
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 can't really appreciate the slideshow effect, which is supposed to be a nice crossfade between the images. I then realized than when viewed at 800x600 or lower it does this. Sometimes it also does it at higher resolution, but with your browser...
8
2030
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 images of the thumbnails. When the slideshow begins it always starts with the first image. I would like to pass the name of the thumbnail to the slideshow HTML page and begin the slideshow with the same image the user clicks on. Is this asking...
11
2397
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' to large numbers and small numbers but it doesn't seem to do anything. Could someone explain what effect changing this variable should bring about and why don't I see any changes. many thanks David
22
5114
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 area that has me right baffled. I want to put up a photo album slideshow but I want to stay away from Flash & Javascript. It just seems that anytime I use them, somebody
1
3341
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 images. I have try with the following jsp code. <%@ page language="java" %> <%@ page import="java.sql.*"%> <%@ page import="java.sql.Connection.*"%> <%@ page import="java.awt.image.*"%>
2
3132
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 // ======================================= // set the following variables // =======================================
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.