I see a problem. I basically have my website setup so an admin can upload files which the php will create the folder, but if I am correct for the lightbox feature to work you have to change this code each time you add a folder?
"
$(document).ready(function()
{
$("a[rel='flyers']").colorbox({maxWidth: "90%", maxHeight: "90%", opacity: ".5"});
}
);
"
Is there anyway to automate this instead of me having to come in and add it every time a new photo album is created?