Using Objects > html

본문 바로가기
사이트 내 전체검색

html

Using Objects

페이지 정보

작성자 서방님 댓글 0건 조회 114회 작성일 06-09-14 11:36

본문

Using Objects

Objects are Microsoft ActiveX Controls or other similar components that provide custom capabilities and services for HTML documents. You can add a control to your document using the object element, and you can gain access to the capabilities and services of the control using its properties and methods from script.

When using objects, be aware that DHTML extends every object by providing these additional properties:

align classid code
codeBase codeType
data form
height name
object recordset
type width

If a control has properties with these same names, you will not be able to access the properties unless you preface the name with the object property. For example, assume that an ActiveX control is added to the document using the following:


In this example, there are two widths: an extended property set within the object element, and a property belonging to the control that is set using the param element. To access these from script, you use the following code.

댓글목록

등록된 댓글이 없습니다.

Total 323건 19 페이지
게시물 검색

회원로그인

접속자집계

오늘
84
어제
190
최대
1,347
전체
167,492
Latest Crypto Fear & Greed Index

그누보드5
Copyright © 서방님.kr All rights reserved.