Los Geht's:1. Starte WinSCP, gib die IP-Adresse, den Benutzer und das Passwort ein (Standardbenutzer: pi, Standardpasswort: raspberry)
2. Wechsle in den Ordner "default" unter /var/www/themes/default
3. Entpacke die Datei Icons.rar die du oben heruntergeladen hast mit Hilfe von WinRAR
4. Kopiere den Ordner "icons" nach /var/www/themes/default (per Drag&Drop)
5. Öffne die Datei "index.html" und füge ganz unten folgende Zeilen hinzu:Code<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-icon" href="[BASEDIR]/themes/[THEME]/icons/der name des icons">
6. Trage unter "der name des icons" das Icon ein das du verwenden möchtest und hänge ein .png als Endung an.
By default all hyperlinks will open in Safari, which is rather irritating. But there’s an easy solution for dealing with this one and here comes the magic:
Code
<script type="text/javascript">
if(("standalone" in window.navigator) && window.navigator.standalone){
var noddy, remotes = false;
document.addEventListener('click', function(event) {
noddy = event.target;
while(noddy.nodeName !== "A" && noddy.nodeName !== "HTML") {
noddy = noddy.parentNode;
}
if('href' in noddy && noddy.href.indexOf('http') !== -1 && (noddy.href.indexOf(document.location.host) !== -1 || remotes))
{
event.preventDefault();
document.location.href = noddy.href;
}
},false);
}
</script>
Display More
Working on iOS 7.0.4