최근 검색


최근 검색 없음

Opening a hidden widget...

답변함


2021년 3월 18일에 게시됨

I would like to add a button on a website that pops up a chat. So the chat should not be available directly on the website, but only when you click on the button. 

Hiding an open widget already works - see on this website by clicking on the black button at the top. Now it should work the other way round :-)

Current script in the footer:

<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=b2997f62-e949-4f26-9b52-af16c7eec744"> </script>

And as a button:

<button onclick="zE('webWidget', 'hide')">Hide Web Widget</button>

Can anyone help me? :-)



 

 


1

2

댓글 2개

Hi, René.

Did you manage to implement this in your chat?

I'm having the same issue and haven't found a solution yet.

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi all,

The corresponding command to have the web widget visible is the show command.

The syntax would be similar to the hide command above, i.e:

<button onclick="zE('webWidget', 'show')">Show Web Widget</button>

I hope this helps! Feel free to reach out with any questions.

Tipene

0


게시물 댓글 달기가 중지되었습니다.

원하는 정보를 못 찾으셨나요?

새 게시물