function lightbox2_init in Lightbox2 8
Same name and namespace in other branches
- 6 lightbox2.module \lightbox2_init()
- 7.2 lightbox2.module \lightbox2_init()
- 7 lightbox2.module \lightbox2_init()
Implementation of hook_init().
File
- ./
lightbox2.module, line 277 - Enables the use of lightbox2 which places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths.
Code
function lightbox2_init() {
if (lightbox2_exclude_these_paths() != 1) {
lightbox2_add_files();
}
}