custom toolbar button

Questionscustom toolbar button
Georgios Prassas asked 9 years ago

Hi to all.
Is it possible to have the fancy-box functionality on toolbar buttton?
if yes how?

1 Answers
Abu Ghufran answered 9 years ago

If you refer demos/appr/toolbar-button.php sample code, a custom button have a onclick implementation JS callback.
You can review fancybox documentation from their website and put that code in click handler.

'onClickButton': function()
// button click function

Your Answer

6 + 8 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?