2011. 10. 14. 15:07
JavaScript
function resize() {
graph1.width = document.getElementById("container1").offsetWidth / 2;
graph1.width = document.getElementById("container1").offsetWidth / 2;
}
/************************************************************/
window.onresize = resize;
'JavaScript' 카테고리의 다른 글
WebWork 데모! (0) | 2012.07.24 |
---|---|
div innerHtml 내용 안에 들어갈 html 의 onload 실행법 (0) | 2012.01.31 |
javascript json객체 내용 확인 (0) | 2011.09.28 |
붉은 라인 그리기 (0) | 2011.03.24 |
자바스크립트 리플레이스all (0) | 2011.03.10 |