Different settings for call made to a plugin

Different settings for call made to a plugin

Hey,
I started making a plugin yesterday that full screens the image you click on

What I am wanting to be able to do is send custom settings to the plugin for each object that calls it, at the moment the plugin just adds all the settings sent to a global settings variable.

(".images img").imagebox({"transition" : "fadeIn"});

while another class might call it with different settings so

(".bigImages .img").imagebox({"transition" : "none"});

What is the method to make the plugin refer back to the settings sent from each call when a user activates each object.