Displaying 1 result from an estimated 1 matches for "getelementswithinarea".
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
...tScreenSize(availspaceonly) - gets the size of the screen.
argument i boolean. False = screenresolution, True = area available(max
size for browser fx.)
- System.getWindowPosition() - gets the position of the window
- System.setWindowPosition(position) - sets the position of the window
- document.getElementsWithInArea(tagname, area) - retreives all elements
matching the tagname which is within the area. (if tagname=* all
elements in the area is retrieved)
Here is the code(should be included after prototype.js):
-------------------------------------------------------------------------------
/*****************...