Measuring Element Dimension and Location
来源:百度文库 编辑:神马文学网 时间:2024/04/26 10:40:38
Thefollowing section is designed to help Web authors understand how toaccess the dimension and location of elements on the page through theDynamic HTML (DHTML) Object Model.
Understanding Properties That Measure Element Dimension and Location
Thediagrams illustrated in this document represent different DHTML ObjectModel properties for the same page. The sample page contains adiv element that is relatively positioned on the page. Since theoverflow attribute of the div has been set to scroll and it contains more content than can be displayed within its limited client area, scroll bars are displayed.
Click the Show Me button to see a working example.
This feature requires Microsoft Internet Explorer 4.0 or later. Clickthe following icon to install the latest version. Then reload this pageto view the sample.
Related Topics
clientHeight
clientLeft
clientTop
clientWidth
offsetHeight
offsetTop
offsetLeft
offsetWidth
scrollTop
scrollHeight
scrollWidth
style.border
style.left
style.marginTop
style.paddingLeft
style.top
Understanding Properties That Measure Element Dimension and Location
Thediagrams illustrated in this document represent different DHTML ObjectModel properties for the same page. The sample page contains adiv element that is relatively positioned on the page. Since theoverflow attribute of the div has been set to scroll and it contains more content than can be displayed within its limited client area, scroll bars are displayed.
Click the Show Me button to see a working example.
This feature requires Microsoft Internet Explorer 4.0 or later. Clickthe following icon to install the latest version. Then reload this pageto view the sample.
Related Topics
clientHeight
clientLeft
clientTop
clientWidth
offsetHeight
offsetTop
offsetLeft
offsetWidth
scrollTop
scrollHeight
scrollWidth
style.border
style.left
style.marginTop
style.paddingLeft
style.top
Measuring Element Dimension and Location
Chapter 3. Dimension 2: Acquiring and Integra...
Chapter 4. Dimension 3: Extending and Refinin...
Chapter 4. Dimension 3: Extending and Refinin...
Apache 2.0 中文文档---Directory, Location and Files段
Measuring proportionality
Element.Ren :: VMware Tools
window.location.href,window.location.replace(...
Measuring the Invisible
Measuring what matters
Cultural dimension of growth
Followership: An Essential Element of Leaders...
12.Set the HTML of an element
Measuring the Video-on-Demand Audience
Measuring the effects of knowledge management
Measuring the effects of knowledge management
Google推出新型定位服务My Location
Web 地理定位(Geo-Location)
javascript中Location对象的使用(转)
Chapter 2. Dimension 1: Positive Attitudes an...
Chapter 5. Dimension 4: Using Knowledge Meani...
Chapter 6. Dimension 5: Productive Habits of ...
Chapter 6. Dimension 5: Productive Habits of ...
Chapter 5. Dimension 4: Using Knowledge Meani...