Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q427

irt.org | About | Feedback | 4579 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q427

Sent by
Mike on Tuesday May 15, 2007 at 10:42:31

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
var newImagePath = "myLargerImage.jpg";

// create a temp copy of the image to get the size (necessary for IE)
tempImage = document.createElement('img');
tempImage.setAttribute('src', newImagePath);

mainImage.setAttribute('src', newImagePath);
mainImage.setAttribute('width', tempImage.width);
mainImage.setAttribute('height', tempImage.height);




Other feedback on 'irt.org FAQ Knowledge Base Q427' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.