I need help adjusting the window size of the light box feature on my website. When a user clicks on a specific image, the light box opens up but the width of the light box does not display correctly. I have added links within the light box as well.
http://jsfiddle.net/rajkumart08/8YK2n/
onClick: function() {
if (!Gallery._config.lightbox) return !1;
Gallery._toggleOverlay(!0);
Gallery._current = $(this).parent();
var a = $(this),
a = a.children('div[class="' + a.data("position") + '"]').children("img"),
b = a.data("width"),
c = a.data("height"),
f = a.data("container_width"),
h = a.data("container_height"),
g = a.data("caption"),
d = Gallery.window_width - 100,
j = g ? Gallery.window_height - 180 : Gallery.window_height - 120;
// More code here...
}