Hello there, I've got the following task I'd like to accomplish. I have a javascript that would want to access data from a seblod content type.
E.g. let's say I have a gallery and I want to have some specific parameter for each image in the gallery. Now I create my nice little group x for each image and this one would include the parameter needed for the javascript. In the template for this content type I add my javascript, but how could I loop through all the images (group x) and get those parameters for the script - maybe putting them all in a nice little array within my script. Any clues how to this would be greatly appreciated. I could put the information in a hidden text or something and get the parameters via jquery, but I'd prefer to keep this data in the script part and not the 'html' part.