Forums

[Plugin: jQuery Lightbox (Balupton Ed.)] Can't apply options (2 posts)

  1. Tathagata
    Member
    Posted 2 years ago #

    I'm trying to use jQuery Lightbox (Balupton Ed.) with NextGen Gallery plugin. It works fine but i have to change some options of this plugin (helper text and others for multilanguage support). Accorrding to the documentation, I added constructor method $.Lightbox.construct({}); to the end of the HEAD of my theme's template like that:

    <script type="text/javascript">$(function(){
    			$.Lightbox.construct({
    				show_linkback:	false,
    				text: {
    					image:		'Photo'
    				}
    			});
    		});</script>

    But it doesn't affect. Please help me, how can I apply options for jQuery Lightbox (Balupton Ed.)]? Thanks in advance for your support.

  2. noslen
    Member
    Posted 2 years ago #

    I am having the same problem - I want to deactivate the link that appears at the bottom of the light box image that goes to another page. Where do I put the script?:

    <script type="text/javascript" src="jquery_lightbox/js/jquery.lightbox.packed.js"></script>
    <script type="text/javascript">$(function(){
    $.Lightbox.construct({
    show_linkback: false,
    text: {
    image: 'Photo'
    }
    });
    });</script>

Topic Closed

This topic has been closed to new replies.

About this Topic