How to change all 100 % height images in HTML to 50% height using javascript -
i have html files (i cant know in then) using javascript need resize images 100 % height 50 % height.
what need if using javascript elements tagname
var imgs=document.getelementsbytagname("img"); for(var in imgs){ if(imgs[i].height=="100%"){ img[i].height="50%"; } }
stack overflow not place people work you.
Comments
Post a Comment