capnud:
Well, for every page that references the Simple Gallery .js file, the script will try and display a gallery on that page, yes. The script does a check on the page in question to see if an empty DIV is defined to house the gallery, and if non is found, alerts an error message. You can disable that message by commenting out the below line inside the .js file:
Code:
if (setting.$wrapperdiv.length==0){ //if no wrapper DIV found
//alert("Error: DIV with ID \""+setting.wrapperid+"\" not found on page.")
return
}
Bookmarks