How to close the pop-up containing AVChat 3 by clicking the [LeaveChat] button
When AVChat 3 is opened in a pop up window you can use the [Leave Chat] button to close the pop up window:
- edit avc_settings.php or avc_settings.asp
- set $avconfig[‘disconnectButtonEnabled’]=1;
- set $avconfig[‘disconnectButtonLink’] = ‘javascript:window.close();‘;
By default clicking [Leave Chat] takes you to a new web page instead of closing the window!
2 thoughts on “How to close the pop-up containing AVChat 3 by clicking the [LeaveChat] button”
Does this still apply to the latest AVChat3 versions?
Or has this changed now since the configuration is now loaded from the XML file?
Yes it still applies but you need to change the values of disconnectButtonEnabled and disconnectButtonLink in the avc_settings.xml file instead.