mywidth=document.getElementById(“main”).clientWidth;
if(mywidth>739){x=740}else if(mywidth 499){x=500}else{x=250};
document.getElementById(“itemlist”).style.width=x+”px”;

Advertisements