Cico
05 Sep 2007, 04:09 PM
Hello!
I am new to this forum. Can somebody help me to write img to div with: document.getElementById. I can't use style.backgroundImage, because i have to set image height and width. I tried:
document.getElementById('con').src="gallery/image1.jpg";
any help? thanx
I am new to this forum. Can somebody help me to write img to div with: document.getElementById. I can't use style.backgroundImage, because i have to set image height and width. I tried:
document.getElementById('con').src="gallery/image1.jpg";
any help? thanx