jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes Ajax slideshow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 60766
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Ajax slideshow
 
Similar Threads
How to automate the login of an external website using AJAX or javascript
Some Examples
Glassfish logs on JSF Page
case study: where to use Ajax
AJAX JSP TagLib Interaction?