I want to insert livechat in iframe on my site without open/close button (only support onichannel chat layout).
tryed somthing like this:
<code>'use client';
import React from 'react';
export const Support = () => {
return (
<div>
<h1 className="text-4xl font-semibold mb-10">Support</h1>
<iframe
src="https://chat.exemple.com/livechat"
title="Chat"
frameBorder="0"
scrolling="no"
style={{ width: '100%', height: '800px', zIndex: '1300' }}
></iframe>
</div>
);
};
</code>
<code>'use client';
import React from 'react';
export const Support = () => {
return (
<div>
<h1 className="text-4xl font-semibold mb-10">Support</h1>
<iframe
src="https://chat.exemple.com/livechat"
title="Chat"
frameBorder="0"
scrolling="no"
style={{ width: '100%', height: '800px', zIndex: '1300' }}
></iframe>
</div>
);
};
</code>
'use client';
import React from 'react';
export const Support = () => {
return (
<div>
<h1 className="text-4xl font-semibold mb-10">Support</h1>
<iframe
src="https://chat.exemple.com/livechat"
title="Chat"
frameBorder="0"
scrolling="no"
style={{ width: '100%', height: '800px', zIndex: '1300' }}
></iframe>
</div>
);
};
but it look like this
enter image description here
So maybe you can help me to solve this.
expected to get rocket chat live chat window in my iframe without button
New contributor
Денис Ясюченя is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.