HTML and CSS Reference
In-Depth Information
eventsNode.innerHTML + 'total time (s): ' +
Math.abs((e.timeStamp $i.startTimestamp) / 1000);
if (e.type 'updateready')
window.applicationCache.swapCache();
}
cache.addEventListener('checking',handler,false);
cache.addEventListener('error',handler,false);
cache.addEventListener('noupdate', handler, false);
cache.addEventListener('downloading',handler,false);
cache.addEventListener('progress',handler,false);
cache.addEventListener('updateready',handler,false);
cache.addEventListener('cached',handler,false);
cache.addEventListener('obsolete',handler,false);
};
$i.hasApplicationCache function()
{
if(Modernizr.applicationcache)
returntrue;
else
returnfalse;
;
document.addEventListener("DOMContentLoaded", $i.init, false);
}).call();
</script>
</head>
<body>
<div id "topbar">
<div id "title">Offline Web App</div>
</div>
<div id "content">
<ul class "pageitem">
<liclass "textbox">
<p>Ihr Browser ist <span id "message"></span></p>
</li>
<liclass "textbox">
<pid "events"></p>
</li>
</ul>
</div>
</body>
</html>
Search WWH ::




Custom Search