|
|
|
16년 전
|
조회 836
|
|
|
|
16년 전
|
조회 1,400
|
|
|
|
16년 전
|
조회 860
|
|
|
|
16년 전
|
조회 820
|
|
|
|
16년 전
|
조회 926
|
|
|
|
16년 전
|
조회 946
|
|
|
|
16년 전
|
조회 780
|
|
|
|
16년 전
|
조회 976
|
|
|
|
16년 전
|
조회 3,263
|
|
|
|
16년 전
|
조회 1,520
|
|
|
|
16년 전
|
조회 1,863
|
|
|
|
16년 전
|
조회 1,539
|
|
|
|
16년 전
|
조회 949
|
|
|
|
16년 전
|
조회 977
|
|
|
|
16년 전
|
조회 805
|
|
|
|
16년 전
|
조회 1,774
|
|
|
|
16년 전
|
조회 1,016
|
|
|
|
16년 전
|
조회 1,525
|
|
|
|
16년 전
|
조회 1,545
|
|
|
|
16년 전
|
조회 1,831
|
댓글 2개
function funcZoom(param){
if(navigator.userAgent.toLowerCase().indexOf("msie")!=-1) {
var zoomUnit=5;
var zoomMax=115;
var zoomMin=85;
if(param=="in") {
zoomStat = zoomStat + zoomUnit;
} else {
zoomStat = zoomStat - zoomUnit;
}
if(zoomStat > zoomMax) {
zoomStat = zoomMax;
}
if(zoomStat < zoomMin) {
zoomStat = zoomMin;
}
document.getElementById('wrap').style.zoom = zoomStat+"%";
} else {
alert("이 브라우저에서는 지원하지 않습니다.");
}
}
위는 자바스크립트 부분
확대 축소 시킬 부분
<div id="wrap">
요기 내용
</div>
실행 스크립트
onclick="javascript:funcZoom('in'); return false;"
onclick="javascript:funcZoom('out'); return false;"
이해 잘 안되시죠??;;;
원하시는게 요거인거 같네요.