Hey guys,

I have a question regarding the configuration of lightbox, and changing settings in JS. I have a situation where I need to make changes to the skin of Lightbox through the use of JS, as the settings need to be in code.

What I am trying to achieve is to override the border_size setting in JS rather than in the admin section. How I am trying to do this is by overriding the Drupal.settings.lightbox2.border_size in my JS. While this overrides the setting, this doesn't have any effect on the Lightbox appearance as this is obviously being changed to late in the game. What is the best way to override options like this?

Altering the padding in the CSS/JS doesn't seem to work either...

thanks,
Craig