The moose likes HTML, CSS and JavaScript and the fly likes Ajax slideshow Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Ajax slideshow" Watch "Ajax slideshow" New topic
Author

Ajax slideshow

vijaya bacina
Ranch Hand

Joined: Aug 23, 2005
Posts: 155
hi is it possible to display pages(JSPs) one after another like a slide show?
right now i am reloading page/next page with some delay. but refreshing taking some time and it does not look like a slide show.
my Quesion is it is possible to use ajax by any means
thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

Of course. With Ajax you can retrieve whatever information you want from the server (and just the information you want) in order to effect each successive "frame" of the slideshow. For example, if the slideshow is a series of images, you can use Ajax to retrieve the URL of each successive image based upon a set interval. (If the # of image URLs is not large, Ajax may be overkill and you could just have the list of URLs in an array).

Without further details regarding the nature of the slideshow elements, it's hard to go into more detail.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Ajax slideshow
 
Similar Threads
case study: where to use Ajax
How to automate the login of an external website using AJAX or javascript
AJAX JSP TagLib Interaction?
Some Examples
Glassfish logs on JSF Page