De supportsites van LogMeIn bieden geen ondersteuning meer voor de Internet Explorer-browser van Microsoft. Gebruik een ondersteunde browser (Chrome, FireFox of Edge) om er zeker van te zijn dat alle functies naar behoren werken.

De GoTo-supportsite biedt geen ondersteuning meer voor Safari 15. Upgrade je browser naar Safari 16 (of nieuwer) of wissel naar een ondersteunde browser zoals Google Chrome, Mozilla Firefox, of Microsoft Edge.

Wil je meer plekken in je Rescue-abonnement? Of wil je een demo van Mobile Support of Camerastreams? Vraag een offerte aan.

We are currently experiencing an unplanned outage for this product. Servicestatus weergeven
  • Support
  • Bladeren door producten

    Ondersteuning per product bekijken

    GoTo Connect

    Alles-in-één-software voor telefonie, vergaderingen en berichten

    GoTo Meeting

    Software voor video- en audiovergaderingen

    GoTo Webinar

    Alles-in-één-software voor webinars en virtuele evenementen

    GoTo Room

    Hardware voor vergaderruimten

    GoTo Training

    Software voor online trainingen

    OpenVoice

    Software voor audiovergaderingen

    Grasshopper

    Lichtgewicht systeem voor virtuele telefonie

    join.me

    Software voor videovergaderingen

    LogMeIn Resolve

    IT-beheer en -ondersteuning

    LogMeIn Resolve MDM

    Beheer van mobiele apparaten

    LogMeIn Pro

    Toegang tot apparaten op afstand

    LogMeIn Central

    Monitoring en beheer op afstand

    LogMeIn Rescue

    IT-ondersteuning op afstand

    GoToMyPC

    Toegang tot bureaublad op afstand

    GoToAssist

    Software voor ondersteuning op afstand

    Hamachi

    Gehoste VPN-service

    RemotelyAnywhere

    Oplossing ter plaatse voor toegang op afstand
  • Community
  • Trainings
  • Servicestatus
  • Want to try a download free option?

    Try the new web console experience!

    Rescue WebTC
  • Language selector icon Language selector icon
    • English
    • Français
    • Italiano
    • Deutsch
    • Español
    • Português
    • Nederlands
  • Neem contact op met Support
  • Servicestatus
  • User Avatar User Avatar
    • Support
    • Neem contact op met Support
    • Browse Products
    • Servicestatus
    • Community
    • Trainings
    • Aanmelden
    • User Avatar
    • Mijn account
    • Persoonlijke informatie
    • Aanmelden en beveiliging
    • Beheercentrum
    • Factureringscentrum
    • Mijn GoToConnect
    • Mijn vergaderingen
    • Mijn webinars
    • Mijn trainingen
    • Mijn conferenties
    • Mijn oplossingen
    • My Mobile Devices
    • Mijn sessies
    • My Sessions
    • Mijn incidenten
    • Afmelden
  • Aanpassing en integratie
  • Inhoud voor ontwikkelaars
  • Aanpassingsopties voor ontwikkelaars
product logo
Back button image Ga terug
Back button image
product logo
Voorbeeldcode voor zelf gehost Instant Chat

Voorbeeldcode voor zelf gehost Instant Chat

Articles related to customization are written for a technical audience who have experience in web development. Knowledge of HTML, CSS, and JavaScript are required.

Het volgende is een voorbeeldcode voor zelf gehoste Instant Chat.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>YourCompany - Web Chat</title> <script type="text/javascript" src="https://secure.logmeinrescue.com/InstantChat/InstantChat.aspx"></script> <script type="text/javascript"> function loadInstantChat(sessionType) { // Show Instant Chat document.getElementById("InstantChatDiv").style.display = ""; // Hide Channel form document.getElementById("ChannelForm").style.display = "none"; // Hide PIN Code form document.getElementById("PinForm").style.display = "none"; // Hide Language dropdown document.getElementById("LanguageForm").style.display = "none"; var ICLoader = new logmeinRescueInstantChatLoader(); ICLoader.ICContainer = "InstantChatDiv"; ICLoader.HostedCSS = "http://YourSite/yourstylesheet.css"; ICLoader.HostedLanguagesForChatOnlyMode = "http://[YourSite]/LanguagesForChatOnlyMode.js"; ICLoader.HostedLanguagesForAppletMode = "http://[YourSite]/LanguagesForAppletMode.js"; // The URL or domain name of [YourSite] must be allowlisted in the LogMeIn Rescue Administration Center. // Neem contact op met je LogMeIn Rescue Master Administrator! // sessionType == 0, we are after REBOOT // Channel session if (sessionType == 1) ICLoader.EntryID = "123456789"; // Private Session if (sessionType == 2) { var pin = document.getElementById("inputPinCode").value; if ((pin.length != 6) || isNaN(pin)) { handleError("Private code should be a 6-digit number!"); return; } else ICLoader.PrivateCode = document.getElementById("inputPinCode").value; } ICLoader.Name = document.getElementById("inputYourName").value; ICLoader.Comment1 = document.getElementById("inputEmailAddress").value; ICLoader.Comment2 = document.getElementById("inputPhoneNumber").value; ICLoader.Comment3 = document.getElementById("inputCompanyName").value; ICLoader.Comment4 = document.getElementById("inputLocation").value; ICLoader.Comment5 = document.getElementById("inputComment").value; ICLoader.Tracking0 = "TestForm01"; ICLoader.Language = document.getElementById("inputLanguageSelect").value; ICLoader.PostMessageTargetOrigin = null; //https://[YourSite].com<:443> // Error + No Technician available notification handling ICLoader.HostedErrorHandler = function(ErrorName) { switch(ErrorName) { case "NOTECHAVAILABLE": handleError("Currently no technicians are available. Kom later nog eens terug."); break; case "NOTECHWORKING": handleError("Sorry, we zijn gesloten. Op dit moment zijn er geen technici beschikbaar. Kom later nog eens terug tijdens onze openingstijden."); break; case "INVALID_PARAMETERS": handleError("Ongeldige parameters opgegeven. Neem contact op met uw provider."); break; case "SESSIONALREADYSTARTED": handleError("Er is al een sessie gestart met deze Pincode. Vraag uw supportaanbieder om een nieuwe Pincode."); break; case "UCONNECTIONERROR": handleError("Er is een onbekende fout opgetreden bij de verbinding."); break; case "ERRNOSUCHSSESSION": handleError("De ondersteuningssessie kan niet worden gestart."); break; case "ERRNOSUCHENTRY": handleError("De online ondersteuningssessie kan niet worden gestart. Neem direct contact op met uw provider."); break; case "ERRCODEDOESNOTEXIST": handleError("Pincode bestaat niet. Neem contact op met uw provider."); break; case "ERRCODEEXPIRED": handleError("Pincode is verlopen. Neem contact op met je support provider."); break; case "ERRNOTEXPIRED": handleError("Technicus of bedrijf bestaat niet. Neem contact op met je ondersteuningsprovider."); break; case "ERRMISSINGTECHLICENSE": handleError("De ondersteuningssessie kan niet worden gestart. The technician is not configured to support this type of device."); break; } } ICLoader.Start(); } // Start automatically Instant Chat after REBOOT function handleReboot() { if ((window.location + "").indexOf("LogMeIn Rescuewebsessionid") != -1) loadInstantChat(0); if (window.location.hash.length == webSessionIdLength + 1) loadInstantChat(0); } // Show error messages function handleError(ErrorDescription) { // Hide Instant Chat document.getElementById("InstantChatDiv").style.display = "none"; // Show ErrorForm var ef = document.getElementById("ErrorForm"); ef.style.display = ""; ef.innerHTML = ErrorDescription; } </script> </head> <body onload="handleReboot();" style="background-color: #000000; font-family:tahoma, arial, verdana; color: #FFFFFF"> <noscript> <div style="position: absolute; left: 0px; top: 0px; width: 700px; height: 700px; zindex: 1; background-color: #000000"> To use the Instant Chat feature, please ensure you have JavaScript enabled in your web browser.<br /> Once you have enabled JavaScript, please refresh this page. </div> </noscript> <div id="ChannelForm" style="position: absolute; left: 100px; top: 100px; backgroundcolor: #303030; padding: 20px 20px 20px 20px"> Your Name<br /> <input id="inputYourName" type="text" maxlength="64" style="width: 200px" /><br /> Email Address<br /> <input id="inputEmailAddress" type="text" maxlength="512" style="width: 200px" /><br /> Phone Number<br /> <input id="inputPhoneNumber" type="text" maxlength="512" style="width: 200px" /><br /> Company Name<br /> <input id="inputCompanyName" type="text" maxlength="256" style="width: 200px" /><br /> Location<br /> <input id="inputLocation" type="text" maxlength="64" style="width: 200px" /><br /> Comment<br /> <input id="inputComment" type="text" maxlength="64" style="width: 200px" /><br /><br /> <input type="button" value="Start Chat Now" onclick="loadInstantChat(1);" /> </div> <div id="PinForm" style="position: absolute; left: 400px; top: 100px; background-color: #303030; padding: 20px 20px 20px 20px"> Enter your 6 digit PIN code<br /> <input id="inputPinCode" type="text" maxlength="64" style="width: 200px" /><br /><br /> <input type="button" value="Connect to technician" onclick="loadInstantChat(2);" /> </div> <div id="LanguageForm" style="position: absolute; left: 400px; top: 260px; backgroundcolor: #303030; padding: 20px 20px 20px 20px"> Select Chat<br />interface language<br /> <select id="inputLanguageSelect" style="width: 200px"> <option value="en">English</option> <option value="es">Español</option> <option value="de">Deutsch</option> <option value="fr">Français</option> <option value="it">Italiano</option> <option value="nl">Nederlands</option> <option value="pt">Português</option> <option value="pt-br">Português (Br)</option> <option value="hu">Magyar</option> <option value="ru">Russian</option> <option value="ja">Japanese</option> <option value="ko">Korean</option> <option value="zh">Simplified Chinese</option> <option value="zh-tw">Traditional Chinese</option> <option value="ar">Arabic </option <option value="tr">Türk</option> <option value="pl">Polski</option> <option value="fi">Suomalainen</option> <option value="sv">Svensk</option> <option value="no">Norsk</option> <option value="he">Hebrew</option> <option value="da">Dansk</option> <option value="cs">Czech</option> </select> </div> <div id="ErrorForm" style="position: absolute; left: 100px; top: 100px; height: 200px; width: 300px; background-color: #303030; padding: 20px 20px 20px 20px; display: none"></div> <div id="InstantChatDiv" style="position: absolute; left: 100px; top: 100px; width: 285px; height: 259px; display: none"></div> </body> </html>
Note:
  • Instant Chat gebruikt altijd XHTML 1.0 Transitional documenttype, hoewel oudere HTML-documenttypes ook worden ondersteund.
  • De volgende regel moet altijd verwijzen naar InstantChat.aspx:
    <script type="text/javascript" src="https://secure.GoToLogMeIn Rescue.com/InstantChat/InstantChat.aspx"></script>
  • ICContainer is een verplichte parameter, de Instant Chat iframe zal worden geladen in het ICContainer element:
    ICLoader.ICContainer = "ICContainer";
  • Voor informatie over het aanpassen van InstantChat.css, zie InstantChat.css aanpassen.
  • U kunt een PrivateCode parameter definiëren in plaats van de EntryID parameter om Private sessies te starten in
    ICLoader.EntryID = "1234567890";
  • U kunt de code voor de standaardtaal (standaard 'en') definiëren. Zie ook aanpassen Instant Chat taalbestanden.

    De volgende talen worden aangeboden door GoTo:

    Afkorting (waarde) Taal Afkorting (waarde) Taal
    en Engels nl Vereenvoudigd Chinees
    nl Spaans zh-tw Traditioneel Chinees
    nl Duits ar Arabisch
    nl Frans tr Turks
    het Italiaans pl Pools
    nl Nederlands fi Fins
    pt Portugees sv Zweeds
    pt-br Braziliaans-Portugees no Noors
    hu Hongaars hij Hebreeuws
    ru Russisch da Deens
    nl Japans cs Tsjechisch
    nl Koreaans el Grieks
    th Thai ro Roemeens
    bg Bulgaars sk Slowaaks
    hr Hrvatski    
  • Hosted Error Handling werkt als volgt:
    • Verwijderen van de handleReboot functie als je ICContainer altijd zichtbaar is op je pagina:
      functie handleReboot(){...}
    • Geef Instant Chat automatisch weer na opnieuw opstarten. Verwijder deze regel als uw ICContainer altijd zichtbaar is op uw pagina:
      if ((window.location + "").indexOf("LogMeIn Rescuewebsessionid") != - 1){document.getElementById("ICContainer").style.display="" ; loadInstantChat();} /* optioneel */
Article last updated: 11 July, 2023
You are viewing the latest version of this article.

Hulp nodig?

Contact icon Contact support
Community icon Ask the Community
Training icon Attend trainings
Video icon Watch videos
  • Language selector icon Language selector icon
    • English
    • Français
    • Italiano
    • Deutsch
    • Español
    • Português
    • Nederlands
  • Informatie over ons
  • Servicevoorwaarden
  • Privacybeleid
  • Handelsmerk
  • Do Not Sell or Share My Personal Info
  • Blader door producten
  • Copyright © 2025 GoTo Group, Inc. All rights reserved

Collaboration Products

GoTo Connect

GoTo Meeting

GoTo Webinar

GoTo Training

join.me

Grasshopper

OpenVoice

Remote Solutions Products

GoTo Resolve

Rescue

GoToAssist

Access Products

Pro

Central

GoToMyPC