Deutsch

Cross-browser installation with JavaScript

Make BS Contact available on your own webite !
Easy installation for Firefox, Internet Explorer, Safari, Google Chrome and Opera.

In order to install BS Contact as easy as possible across internet browsers, Bitmanagement provides now a cross browser JavaScript to check the installed version of BS Contact. This script gives third party developers the possibility to check the installed version of the BS Contact 3D viewer against the latest available version of BS Contact provided, e.g. on the Bitmanagement Server. In addition you can predefine which version should be used without connecting.

To add this functionality to your website you need the provided javascript files in the BS SDK. JavaScript is available in all main internet browsers. So it is not necessary anymore to install PHP on your server. If you want to host BS Contact on your own web server your webmaster is only required to change the script according your own domain information using downloadURL as described in the BS SDK.

To add the described functionality to your website you have to add the following lines to your page. The code example displays the status of BS Contact if installed. If not it will display a download button.

  1. <html>
  2. <head>
  3. <title>BS Contact check installer</title>
  4. <link type="text/css" href="InstallStyle.css" rel="stylesheet">
  5. <script type="text/javascript" src="check-install-translation.js"></script>
  6. <script type="text/javascript" src="BSContactInstallLib.js"></script>
  7. </head>
  8. <body>
  9. <div id="InstallerDiv"></div>
  10. <script type="text/javascript">
  11. var InstDiv = document.getElementById('InstallerDiv');
  12. var Installer = new BSContactInstallerUI('Installer',InstDiv);
  13. Installer.displayStatus = true;
  14. Installer.Run();
  15. </script>
  16. </body>
  17. </html>

More documentation on the functionality above is available in the BS SDK.