Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Stoerelsen paa en div i javascript [IE Only]

Author:mike - Mon May 31 17:36:56 2004

<div id='mydiv'>
Hvor hoej er den her crap div??<br><br><br>Saa hoej?
</div>
<script>
height=document.all["mydiv"].clientHeight || document.getElementById("mydiv").offsetHeight
width=document.all["mydiv"].clientWidth || document.getElementById("mydiv").offsetWidth
alert(height+' '+width)
document.write(document.mytab.style.offsetHeight);
</script>
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk