Object Position and Size JavaScript script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: www.mattkruse.com
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: JavaScript
  • Price:Other Free / Open So
  • Company: Matt Kruse (View more)

Object Position and Size script description:




Publisher review:
Object Position and Size is a JavaScript library used to find the position of an object on the page regardless of the layout, css, or positioning used. The goal of this library is simple: Find the position of an object on the page regardless of the layout, css, or positioning used. Finding the position of an object on the page seems simple, and many approaches found on the web will show you the simplest case - which will work in most situations.

However, this approach (of just walking up the offsetParent chain and adding offsetLeft and offsetTop values) will not work in cases where there are elements that scroll (such as a DIV with a scrollable content area) and in other situations. It's necessary to have a more robust function which is built to handle as many possible conditions as possible, so it may be "plugged in" to any layout and work correctly. In addition to finding the position of an object, this library also reports back its width and height. Also, it provides a convenience method for setting the position of an object.
Object Position and Size is a JavaScript script for Development Tools scripts design by Matt Kruse. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Object Position and Size is a JavaScript library used to find the position of an object on the page regardless of the layout, css, or positioning used.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5