Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-09-17 05:56:54

husnain
Member
Registered: 2014-09-16
Posts: 17

Make button on any pop up

Can we open chat box by clicking botton on popup box,if I press "YES" it will open chat box

1410933338_popup.png


how can we do that?

Last edited by husnain (2014-09-17 05:57:43)

Offline

#2 2014-09-17 06:38:57

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Make button on any pop up

On click event add something like

onclick="return lh_inst.lh_openchatWindow()"

Offline

#3 2014-09-17 08:57:07

husnain
Member
Registered: 2014-09-16
Posts: 17

Re: Make button on any pop up

Yes,its working
How can I open chat box in new window?

Offline

#4 2014-09-17 09:49:03

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Make button on any pop up

I'm not sure what you mean there. If you embed code is generated to open popup this function will open popup if it's generated to open chat widget it will open chat widget. If what you can manually generate open link like
http://demo.livehelperchat.com/index.php/chat/startchat

Offline

#5 2014-09-17 12:29:59

husnain
Member
Registered: 2014-09-16
Posts: 17

Re: Make button on any pop up

How to check if Chat-box is already open?

Offline

#6 2014-09-17 12:50:10

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Make button on any pop up

No way, but i ques it's safe to call it again. Because it will reload just all data.

Offline

Board footer