When AVChat 3 is opened in a pop up window you can use the [Leave Chat] button to close the pop up window:

  1. edit avc_settings.php or avc_settings.asp
  2. set $avconfig[‘disconnectButtonEnabled’]=1;
  3. set $avconfig[‘disconnectButtonLink’] = ‘javascript:window.close();‘;

By default clicking [Leave Chat] takes you to a new web page instead of closing the window!

leave_button_screenshot

2 thoughts on “How to close the pop-up containing AVChat 3 by clicking the [LeaveChat] button

  1. Ronald says:

    Does this still apply to the latest AVChat3 versions?
    Or has this changed now since the configuration is now loaded from the XML file?

    1. Octavian says:

      Yes it still applies but you need to change the values of disconnectButtonEnabled and disconnectButtonLink in the avc_settings.xml file instead.

Leave a Reply

Your email address will not be published. Required fields are marked *