Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12952

    hi, the portfolio images for each entry are clickable (http://www.chalet-rohrmoos.com/?page_id=18) and open in the browser. I want that those pictures open in a lightbox or – as a not so good alternative – dont be clickable.

    any suggestions?

    #77266

    In js/avia.js Replace following line:

    if(typeof container == 'undefined'){ container = '';};

    with:

    if(typeof container == 'undefined'){ container = 'body';};

    and:

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox)
    jQuery('body', container).avia_activate_lightbox();

    //activates the hover effect for image links
    if(jQuery.fn.avia_activate_hover_effect)
    jQuery('body', container).avia_activate_hover_effect();

    with:

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox)
    jQuery(container).avia_activate_lightbox();

    //activates the hover effect for image links
    if(jQuery.fn.avia_activate_hover_effect)
    jQuery(container).avia_activate_hover_effect();

    #77267

    fenx ;) du bist ein held, dude

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Portfolio Image – clickable into lightbox or not clickable’ is closed to new replies.