Posted by Gregor Kofler on 11/15/07 15:51
nolo contendere meinte:
> <html>
> <head>
> <script type="text/javascript" src="js/prototype.js"></script>
> <script type="text/javascript">
> function kill_loader() {
> $('loader').style.display = 'none';
> $('contents').style.display = 'block';
> }
Prototype just to get rid off document.getElementById()? I suppose it 'd
more helpful for the OP, if he could get the plain JS version, hence
document.getElementById('loader').style.display = 'none';
document.getElementById('contents').style.display = 'block';
Gregor
--
http://www.gregorkofler.at ::: Landschafts- und Reisefotografie
http://www.licht-blick.at ::: Forum für Multivisionsvorträge
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Navigation:
[Reply to this message]
|