PDA

View Full Version : Refresh the content on each load with Featured Content Glider



henkedk
03-09-2009, 04:29 PM
1) Script Title:
Featured Content Glider

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

3) Describe problem:
Is it in any way possible to reload the content of the different DIVs? So every time the content is shown it is refreshed. I include different webpages in a slideshow and want to avoid to reload each of the sites every x seconds "in the background" to save performance, but would like them to be reloaded when they are visible. Any ideas on that would be great!

ddadmin
03-09-2009, 08:10 PM
Hmm I'm not quite sure what you mean. Are you saying the you're using IFRAMEs as the contents within the Glider, and wish to refresh (reload) them somehow?

henkedk
03-10-2009, 10:02 AM
Exactly :)

ddadmin
03-10-2009, 07:43 PM
Are the pages contained in the IFRAME from the same domain as the page carrying the Glider script? They need to be in order to reload the IFRAME due to JavaScript security limitations.

henkedk
03-10-2009, 10:09 PM
Well I could make them be, or else i might make e.g. 3 php scripts in the same folder as the script and make them be the content of the iframe and make those scripts call the actual content. This is not at problem in any way, i just don't know how to make the slider refres the content.

henkedk
03-17-2009, 12:32 PM
Anyone got an idea? :)