Best viewed with a browser
released in the 21st Century (but where possible the site is lynx-friendly) |
Home > JavaScriptorium > Selection Frame Demo (older version) Selection Frame Demo (older version)Selection Frame Demo (older version)This little JavaScript application demonstrates how to use layers to simulate a resizable selection frame or grabber. When the mouse pointer is over the image, a blue selection frame is displayed. The size of the frame is determined by the "grabber size" option in the form. The position of the mouse pointer relative to the top left of the page is displayed. On Netscape, the pointer position is relative to the top left of the image itself. When you click on the within the confines of the image, an alert reports the mouse co-ordinates and the current grabber size. This application should work in Netscape 4 (and later), Internet Explorer 4 (an later), Opera 6 (and later), Mozilla/Chimera, Konqueror 2.2.1 (and later). Extra work was necessary to make it work with Netscape 4. Some known issues:
Home > JavaScriptorium > Selection Frame Demo (older version) |