CheckerBoard 필터에 의해 변환에 사용되는 수평 컬럼의 갯수를 반환하거나 설정한다.

Script object.filters.item('progid:DXImageTransform.Microsoft.CheckerBoard').SquaresX[=propVal]
HTML {filter:progid:DXImageTransform.Microsoft.CheckerBoard(squaresx=propVal)...}
인수
propVal 값의 종류 : 정수
2   변환하는 사각의 폭은 2 픽셀이다.
~  
12 디폴트 변환하는 사각의 폭은 12 픽셀이다.
~  
읽기/쓰기 가능성
읽기/쓰기
특기
속성 값이 2 미만이면 무시되고 디폴트값 12가 적용된다.


property
SquaresX 필터속성
SquaresX</b>  필터속성이전페이지로페이지 맨위로페이지 맨아래로

CheckerBoard에서 SquaresX 속성 예제


CheckerBoard 필터 예제
<SCRIPT>
function doPlay(job){
  divObj.filters[0].Enabled=true;
  divObj.style.backgroundColor='pink';
  divObj.style.color='blue';
  divObj.filters[0].Apply();
  if (!job) divObj.filters[0].Enabled=false;
  else {
    divObj.style.backgroundColor='lightgreen';
    divObj.style.color='white';
    divObj.filters[0].SquaresX=job;
    divObj.filters[0].Play();
  }
}
</SCRIPT>
<STYLE>
.butClass{width:100}
</STYLE>

<DIV id="divObj"
  style="width:600;height:100;background-color:pink;color:blue;font-size:30;line-height:1.2em;font-weight:bold;padding:9;
    filter:progid:DXImageTransform.Microsoft.CheckerBoard(Duration=5,Direction=right);">
<IMG src=../../gif/rfexample.gif width=100><BR>
CheckerBoard 필터 예제
</DIV>
<BUTTON onclick="doPlay(0)" class="butClass">정상 이미지</BUTTON>
<BUTTON onclick="doPlay(2)" class="butClass">SquaresX=2</BUTTON>
<BUTTON onclick="doPlay(4)" class="butClass">SquaresX=4</BUTTON>
<BUTTON onclick="doPlay(6)" class="butClass">SquaresX=6</BUTTON>
<BUTTON onclick="doPlay(12)" class="butClass">디폴트</BUTTON>
<BUTTON onclick="doPlay(20)" class="butClass">SquaresX=20</BUTTON>
property
SquaresX 필터속성
견본
이전페이지로페이지 맨위로
최종 수정:
04/07/2025 08:54:14
KoXo Homepage
All right reserved
비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다.
오류가 나면 정상적 접속으로 시도해 보세요.
http://koxo.com/lang/js/filter/SquaresX.html
Explorer10 부터 filter 기능이 지원되지 않는다는 점을 인식하시기 바랍니다.