PDA

View Full Version : Navigate through items


boemans
07-20-2008, 12:47 PM
Hello,

I am sure there must be a solution for my problem, but I searched on the internet and couldn't find one.

I have added a screenshot of the thing I want to make. The idea is that people can use the arrows to go through all the testimonials. So, when the page loads, a random testimonial should appear, and people can use the arrows to read other testimonials.

I don't want to reload the page fully. Maybe AJAX is better then, but if it could be possible with javascript, I would prefer that.

Thanks for any help!

A1ien51
07-20-2008, 01:39 PM
Create a page on the server that generates a random message. Build an Ajax call using a library or your own implementation and call it. You can save previous messages in an object so if the user hits the back button, you can just show it without having to make a call back to the server.

Try implementing some of that and we can help you out.

Eric

boemans
07-20-2008, 01:47 PM
Create a page on the server that generates a random message. Build an Ajax call using a library or your own implementation and call it. You can save previous messages in an object so if the user hits the back button, you can just show it without having to make a call back to the server.

Try implementing some of that and we can help you out.

Eric

Any help in this? Or links to examples where I can learn it?

Thanks