custom toolbar button

Questionscustom toolbar button
Georgios Prassas asked 10 years ago

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

1 Answers
Abu Ghufran answered 10 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

19 + 16 =

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?