Re: <img> width height
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: <img> width height

From: test <test@test.test>
Date: Sat Apr 22 2006 - 00:38:29 CEST

On Fri, 21 Apr 2006 21:46:37 GMT, News wrote:

> I am trying to be able to manipulate the width and height of an <img> but do
> not seem to be able.
>
> "Yes", I know the JavaScript will "not" manip anything, which is ok. I
> simply do not know how to capture the width or height. Once I can do that I
> can manipulate them.
>
> Here is the HTML for the <img>
> <div class="ImgMnp" id="myImg" onmouseover="imgSize('myImg','fpImg)">

There is a syntax error in this line, near the end. You're
missing an apostrophe. It should go:

<div class="ImgMnp" id="myImg" onmouseover="imgSize('myImg','fpImg');">

Don't know if that was what was breaking the code though.
Received on Mon May 1 05:14:02 2006