Return customized default values for each in a plugin

Return customized default values for each in a plugin


Is it possible to get what the customized default values are for each element that a plugin is applied to?

For an example, I setup a test page for my question:  http://nathansearles.com/defaults/

I have two defaults:
  1. $.fn.example.defaults = {
      animateRate: 100,
      animateSpeed: 250
    };

And I'm initializing the plugin:
  1. $(function(){
    $("#example_one").example({
    animateRate: 500,
    animateSpeed: 1000
    });
    $("#example_two").example({
    animateRate: 1500
    });
    });
What I want to get is what the animateRate value is for each. So doing $.fn.example.defaults.animateRate or $(this).example.defaults.animateRate just gives me what the plugin defaults values are but I want to get what the customized default values are for each.

Any ideas?

Thanks!