PDA

View Full Version : Dynamic Ajax Content



sbh
01-28-2010, 11:37 PM
1) Script Title: Dynamic Ajax Content

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

3) Describe problem: Two problems.

1.) the default on page load external content does not load. Below is the javascript that I placed in the head to do this.

<script type="text/javascript">
ajaxpage('gallery/b/b1_gallery.htm', 'gallery')
loadobjs('css/gallery.css', 'js/b1_gallery.js')
</script>

2.) On click of the links on page the external .htm files load fine. I have javascript prev and next buttons within each external .htm file that allow the user to view images. Here is the issue...a viewer can only view the external content once. If the viewer clicks on a project twice then the photos from the last project are the ones that he is able to view. In IE, when this happens, the user is taken back to the site's root. Is this an issue with caching in the AJAX or something else?

Link to view issue:
http://samhuss.org/testsites/dwelling/gallery_template.html

Thank you.