Toolbar add web object button

By adding a new button on the toolbar, I want the web object added to the presentation content to appear when I click on this button. Can you write me javascript code for this?

1 Like

Hi @Tugrul_ALPI,

Assuming $button is the jQuery object of the button on the toolbar, you can add the following script to the project On Load:

$button.on(‘click’, function() {
prez.object(‘web object name’).show();

Let us know how it goes.

Quynh Anh