| Demo of OverLIB 3.33 positioning improvements WITH PATCHES | ||||||||||
| This page demonstrates a patch to OverLIB 3.33 which cleans up and rationalizes all the
positioning issues discussed in the group recently. It is 100% compatable (except for FIXX and FIXY) with
the intent of the positioning commands as documented, but it makes their operation more reliable and predictable.
This page demonstrates the improved Horizontal and Vertical Positioning commands, and follows with expanded User Documentation and Installation Instructions. For a complete discussion of the patches demonstrated here - including the evolution, before and after examples, credits, tooling instructions, and in-depth technical discussion of the modifications - see the related Technical Discussion page. | ||||||||||
|
Some facts about this page and your browser.
The background image on this page is a 50 pixel by 50 pixel grid. Use it for counting. | ||||||||||
| Horizontal Positioning | ||||||||||
| The Yellow bar is an anchor for a popup handled by OverLIB 3.33 WITH THE PATCH. Slide your mouse the length of each bar to see the behavior of the popup at different x-positions on the screen. | ||||||||||
|
Default to right of mouse with automatic edge justification. (Default offset of 10px) To left of mouse with automatic edge justification. (Default offset of 10px) Right OR left of mouse with automatic edge justification. (Default offset of 10px) Centered below mouse with automatic edge justification. (NO mid-point offset) Right OR left of mouse and snapped to a 50px grid, with automatic edge justification. Centered below mouse but offset to the left by 75px. Using OFFSETX suppresses automatic edge justification. Centered below mouse, offset to the left by 75px and snapped to a 30px grid. Using OFFSETX suppresses automatic edge justification. FIXX in a revised implementation. Always 15px from the left margin of the VISIBLE WINDOW. This overrides all other horizontal positioning commands, so it doesn't matter if we leave them in the arg list. They will be ignored. FIXX in a revised implementation. Always 450px from the left margin of the VISIBLE WINDOW. Watch out. This looks OK on a 1024px wide monitor, but it is horrid on an 800px monitor. This demonstrates why autopositioning is so important. Use FIXX (with large values) with caution. FIXX in a revised implementation. Always 100px from the right margin of the VISIBLE WINDOW. This adapts to screen resolution, window width and horizontal scrolling. | ||||||||||
| Vertical Positioning | ||||||||||
| ||||||||||
| ||||||||||
| Revised User Documentation | ||||||||||
|
RIGHT (Default) Place the popup to the right of the mouse, but do not overrun the right margin of the window. LEFT CENTER HAUTO OFFSETX,x
OFFSETX/OFFSETY - general comment - located after OFFSETY, below. SNAPX,grid FIXX,x BELOW ABOVE VAUTO OFFSETY,y
OFFSETX/OFFSETY - general comment SNAPY,grid FIXY,y WIDTH HEIGHT | ||||||||||
| Installation Instructions | ||||||||||
This patch is written as an ADDITION to your existing OverLIB.
In other words, the faint-of-heart do not have to edit their copy of OverLIB.
| ||||||||||
| Please
let me know
if you encounter problems. |