PDA

View Full Version : Resolved Having Problems with Simple Controls Gallery



dineonyourdesign
05-02-2009, 02:05 AM
1) Script Title:
Simple Controls Gallery v1.3

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm

3) Describe problem:
The gallery works and plays fine in Firefox, but does not show up in IE and gives me this error message:


Line: 35
Char: 3
Error: 'imagearray[...].0' is null or not an object

http://flammabledesign.com/PurelineKennels/Test/ ("males" & "females" pages)

Any help would be immensely appreciated.

ddadmin
05-02-2009, 07:25 AM
There should be no trailing comma (,) following the very last array element of imagearray for both instances of the gallery on your page, for example:


imagearray: [
["royce1.jpg", "royce1_lg.jpg", "_new", ""],
["royce2.jpg", "royce2_lg.jpg", "_new", ""],
["royce3.jpg", "royce3_lg.jpg", "_new", ""],
["royce4.jpg", "royce4_lg.jpg", "_new", ""],
["royce5.jpg", "royce5_lg.jpg", "_new", ""],
],

And:


imagearray: [
["comingsoon.gif", "", "", ""],
],

Remove the coma in red, as IE will choke on them.

dineonyourdesign
05-02-2009, 12:28 PM
Ahh, like a charm! Thank you!!