View Full Version : PHP Photo Album script v2.0 Not Working IE7

09-05-2009, 12:24 PM
1) Script Title: PHP Photo Album script v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm
3) Describe problem: Script not working in IE7, works OK in Firefox. Link to test page:


The test album is on tab labeled Oct 09.

IE Error says that phpimagealbum is undefined in line 187.

Any assistance appreciated!
Thanks, Dwayne

09-06-2009, 05:50 AM
It looks like you're using Ajax includes to dynamically embed Photo Album Script onto your page. IE has problems with that method when the included content contains complex JavaScript, as is the case here.

Since you're trying to include a different Photo Album inside each tab, I would recommend you use Ajax Tabs Content script (http://dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm) instead. Then use the IFRAME mode to display each photo album page inside the IFRAME. That would be the easiest way to set things up in your case.

09-06-2009, 02:28 PM
Thank you for the help. I was able to fix the problem. I was already using the script you recommended. To fix the problem, I moved the script calls to the page on my server called meta.html, and left the calls out of the page being loaded by the ajax routine. My site is based on TNG, (The Next Generation of Genealogy Site Building), and that is how the author set things up to use meta.html for this purpose.

Thanks again,