Click to See Complete Forum and Search --> : Image properties....


ColdSteel
08-29-2003, 10:15 AM
When you are making the image sources with Javascript ie,..

img1.src = "AboutUs_gl(BIG).gif"
img2.src = "ContactUs_gl(BIG).gif"
img3.src = "SellingForm_gl(BIG).gif"
img4.src = "HomePage_gl(BIG).gif"
img5.src = "E-mailUs_gl(BIG).gif"
img6.src = "ViewAds_gl(BIG).gif"
imgBig.src = "Big_UN.gif"

How do you specify the Width and Height of the images without giving the Javascript errors? Thanks....

Fang
08-29-2003, 01:04 PM
img1=new Image(width, height);
img1.src = "AboutUs_gl(BIG).gif";

ColdSteel
08-29-2003, 07:33 PM
Hey, Thanks Fang...