Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi JC, what do you mean with ‘call’ here? Do you wish to control on which pages the lightbox script files are included?

    also if possible not just to trigger click, but actually calling the box?

    Yes it should be possible. See https://fancybox.net/blog under “6. Start FancyBox on page load” there is a manual call example. But if you’re already going in that deep, you should consider building FancyBox into your theme yourself instead of using a plugin like Easy FancyBox.

    Thread Starter jc.a

    (@jca-1)

    Hello sir RavanH, what i mean by ‘call’ is invoking it or a php function to execute to show a specific fancybox-hidden div instead of clicking the link with the fancybox-inline class.

    before this, i used to do jquery to trigger a click. but my conditions are on the server-side using php, so i was thinking of how can i trigger sa fancybox to show up using php.

    I’ll check out the blog! thank you! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call Fancybox from php?’ is closed to new replies.