var img_arr = document.images;
for(var i = 0; i < img_arr.length; i ++){
var temp_ele = img_arr[i].parentNode.id;
if(temp_ele == 'pic'){
img_arr[i].width = 'your_pic_width';
img_arr[i].height = 'your_pic_height';
}
}
for(var i = 0; i < img_arr.length; i ++){
var temp_ele = img_arr[i].parentNode.id;
if(temp_ele == 'pic'){
img_arr[i].width = 'your_pic_width';
img_arr[i].height = 'your_pic_height';
}
}
http://community.csdn.net//Expert/TopicView2.asp?id=4360247&datebasetype=now
js FAQ贴
http://community.csdn.net//Expert/TopicView2.asp?id=4356360&datebasetype=now
DHTML手册,js手册,dom手册下载,梅花雪的树和日期控件
梅雪香的日期控件.
http://community.csdn.net//Expert/TopicView2.asp?id=4356325&datebasetype=now