• Resolved Dustito

    (@dustito)


    Hi friends!

    Is posible to change fancybox options in specified page??

    eg in the hompage disabled the navitaion arrows.

    The second question is posible to recharge the functionality of the fancybox when there are new elements in the page, eg a ajax recharge for example??

    Thak you very much guys!!

    https://ww.wp.xz.cn/plugins/easy-fancybox/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Is posible to change fancybox options in specified page??

    No, per page is not possible. You can however change specific options per media link. Enable the option “Inlcude the Metadata jQuery extension script…” under FancyBox | Links on your Settings > Media admin page. Then give the media links a class="fancybox {showNavArrows:'false'}" attribute to disable the nav arrows.

    … is posible to recharge the functionality of the fancybox when there are new elements in the page, eg a ajax recharge for example??

    This can be done by triggering a post-load event after new content has loaded:

    jQuery(document).trigger("post-load");

    Thread Starter Dustito

    (@dustito)

    Thanks RavanH!! Work perfectly!

    A note:

    The correct expresion is {‘showNavArrows’ : false}

    a greeting and sorry for my english!!

    The correct expresion is {‘showNavArrows’ : false}

    Right, I always confuse the quotes placement… Thanks for the feedback 🙂

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

The topic ‘Two fast questions’ is closed to new replies.