On Mon, Apr 2, 2012 at 10:50 AM, Tei <[email protected]> wrote:

> $(img).css("width",neww+"px");
> $(img).css("height",newh+"px");
>

At this point simpler and easier would be:

img.setAttribute('width', neww + 'px');

No need for jQuery nor CSS to be involved.

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to