diff --git a/Source/mediaboxAdv.js b/Source/mediaboxAdv.js index 821e599..f5dc1b2 100644 --- a/Source/mediaboxAdv.js +++ b/Source/mediaboxAdv.js @@ -27,7 +27,7 @@ var Mediabox; // Global variables, accessible to Mediabox only var options, mediaArray, activeMedia, prevMedia, nextMedia, top, mTop, left, mLeft, winWidth, winHeight, fx, preload, preloadPrev = new Image(), preloadNext = new Image(), // DOM elements - overlay, center, media, bottom, captionSplit, title, caption, number, prevLink, nextLink, + overlay, center, media, bottom, captionSplit, title, caption, number, prevLink, nextLink, container, closeLink, // Mediabox specific vars URL, WH, WHL, elrel, mediaWidth, mediaHeight, mediaType = "none", mediaSplit, mediaId = "mediaBox", margin, marginBottom; @@ -973,4 +973,4 @@ Mediabox.scanPage = function() { }); }; -window.addEvents({domready: Mediabox.scanPage, resize: Mediabox.recenter}); // to recenter the overlay while scrolling, add "scroll: Mediabox.recenter" to the object \ No newline at end of file +window.addEvents({domready: Mediabox.scanPage, resize: Mediabox.recenter}); // to recenter the overlay while scrolling, add "scroll: Mediabox.recenter" to the object