scrypter aus den forum
http://forum.jswelt.de/ hat mir mein problem behoben!
hier die lösung:
<head>
<meta content="text/html; charset=ISO-8859-15" http-equiv="content-type">
<title>iPhone detect</title>
<script type="text/javascript">
<!--
window.onresize = function(){
if (navigator.userAgent.match(/iP/)) {
document.getElementById('fusszeile').style.top = (window.pageYOffset + window.innerHeight - 60) + 'px';
window.onscroll = function() {
document.getElementById('fusszeile').style.top = (window.pageYOffset + window.innerHeight - 60) + 'px';
}
}
}
window.onload = function() {
if (navigator.userAgent.match(/iP/)) {
document.getElementById('fusszeile').style.top = (window.pageYOffset + window.innerHeight - 60) + 'px';
window.onresize();
}
}
//-->
</script>
<style type="text/css">
#fusszeile {
position: fixed;
}
</style>
</head>
<body>
<div id="fusszeile">fixierte Fusszeile</div>