-= Ohne Beispiel =-
[Beschreibung]
Dieser Codeschnipsel simuliert, in Scripte eingesetzt, bei älteren Browsern das getElementById- Objekt.
[Kompatibilität]
[Code]
<script type="text/javascript"> <!-- Begin /* This script and many more are available free online at The JavaScript Source!! http://www.nightfire.ch/java/ Created by: Ultimater :: http://ultimiacian.tripod.com/ Add this snippet to the very beginning of your script. */ if(!document.getElementById){ if(document.all) document.getElementById=function(){ if(typeof document.all[arguments[0]]!="undefined") return document.all[arguments[0]] else return null } else if(document.layers) document.getElementById=function(){ if(typeof document[arguments[0]]!="undefined") return document[arguments[0]] else return null } } // End --> </script>
Ultimater
Kopieren Sie bitte den Code