/g, '>'); return fix_str; } // slider lightbox init gg_slider_lightbox = function(data, gg_img_index) { var rel = new Date().getTime(); var obj = ''; jQuery.each(data, function(i, v) { obj += '
'; }); gg_init_lclightbox(obj, gg_img_index, rel); } // throw lightbox function gg_init_lclightbox(obj, gg_img_index, the_hook) { jQuery(obj).lcweb_lightbox({ open: true, from_index: gg_img_index, manual_hook: the_hook, url_src: 'gg-url', title_src: 'gg-title', author_src: 'gg-author', descr_src: 'gg-descr', data_position: 'under', animation_time: 300, slideshow_time: 5000, autoplay: false, ol_opacity: 0.7, ol_color: '#000000', ol_pattern: 'false', border_w: 4, border_col: '#444444', padding: 10, radius: 10, style: 'light', data_position: 'under', fullscreen: true, fs_only: 'none', fs_img_behaviour: 'smart', max_width: '85%', max_height: '75%', thumb_nav: false, socials: true }); } });