cul8er23
09-10-2003, 06:32 AM
Hi,
can anyone tell me how to determine image width and height in netscape and change it?
I am trying to postition one shaddow(pic) underneath every pic on my page to keep it small (I also need the pics w/out shadow).
--------------------------------------
<div style="position:absolute; z-index:2; top:100; left:100">
<img src="shaddow.png" name="cleaning_3_4_S">
</div>
<div style="position:absolute; z-index:3; top:101; left:101">
<img src="cleaning_3_4.jpg" name="cleaning_3_4">
</div>
<script type="text/javascript">
document.cleaning_3_4_S.width = document.cleaning_3_4.width/201 * document.cleaning_3_4_S.width;
document.imgName.width ;
</script>
--------------------------------------
Does anyone know how to do this in netscape?
Thanks in advance!!:)
can anyone tell me how to determine image width and height in netscape and change it?
I am trying to postition one shaddow(pic) underneath every pic on my page to keep it small (I also need the pics w/out shadow).
--------------------------------------
<div style="position:absolute; z-index:2; top:100; left:100">
<img src="shaddow.png" name="cleaning_3_4_S">
</div>
<div style="position:absolute; z-index:3; top:101; left:101">
<img src="cleaning_3_4.jpg" name="cleaning_3_4">
</div>
<script type="text/javascript">
document.cleaning_3_4_S.width = document.cleaning_3_4.width/201 * document.cleaning_3_4_S.width;
document.imgName.width ;
</script>
--------------------------------------
Does anyone know how to do this in netscape?
Thanks in advance!!:)