SiteKiosk: Bug Fix for critical error
On kiosk machines with SiteKiosk versions earlier than 8.7 under Windows 7, the system will in most cases become unusable after Internet Explorer 10 is installed. The affected SiteKiosk versions are 7.1 - 8.6. Any Windows 7 computers that have automatic updates enabled will be affected because Internet Explorer 10 is installed automatically as part of Windows updates.

All software resellers are strongly encouraged to forward this information to the operators of the kiosks. PROVISIO has no information about the end user and therefore cannot directly inform them!

Additional information...
Archive: How to force reload or redirection of tray window browser
Article ID: 5296
ArticleType d´article: Archive
Niveau: Fermé
Langue: Anglais
Date de création: 28/06/2006 01:29
Dernière modification: 18/08/2006 15:15
Produit: SiteKiosk
Version: 6.5.0
Adressages: 5171
Annexe: -
Créé par: Administrator (Provisio)
Modifié par: florin (Provisio)
Description
I have a situation where the html loaded in to the tray window browser is requested from a remote application server. If this server happens to be unavailable when SK loads, I will of course get a 404 loaded into the tray window browser. If I later on detect that the server is available, I want to be able to force the tray window browser to reload by setting its document location. Is there a way to access the tray window browser from my external script file in the same way that I can access the main browser with SiteKiosk.WindowList.MainWindow.SiteKioskWindow.SiteKioskWebBrowser.Navigate()?
Commentaires (2): How to force reload or redirection of tray window browser
Re: How to force reload or redirection of tray window browser Administrator (Provisio) 28/06/2006 16:44
Hello,

you can't access the TrayWindow.htm from an external script but you can access the external script from the TrayWindow.html.

Therefore you can define a periodic request that sets a value in your external script.

Something like this:
var valuea = 333;

function setValue(newvalue)
{
valuea = newvalue;
}

function retrieveValue()
{
return valuea;
}

Afterwards you can access this script by using the following code in the TrayWindow.htm:

<SCRIPT TYPE="text/javascript">
<!--
window.external.InitScriptInterface();
//set the value 1 for the variable in the external script, this overwrites the existing value 333
SiteKiosk.ScriptDispatch.setValue(1);
//-->
</script>

<SCRIPT TYPE="text/javascript">
<!--
window.external.InitScriptInterface();
//retrieve the value, this can be done in a completely new html page
var helpvar = SiteKiosk.ScriptDispatch.retrieveValue();
document.write(helpvar);
//-->
</script>

Regards,
Michael Olbrich

Re: How to force reload or redirection of tray window browser Administrator (Provisio) 28/06/2006 18:19
Yes, I use that approach a lot in other situations but unfortunately, if the tray window browser does not load properly (e.g. 404), then there will be no HTML in the browser to access the external script periodically. :)

I am looking for a solution to handle the case when the tray window browser is unable to load its contents properly. I don't see any way of forcing it to reload or navigate to a different location.
© 1996-2013 PROVISIO. Tous droits réservés. Mentions légales Contact Conditions générales d´affaires Protection des données