| home / experts / dhtml / column2 |
|

If you are using Explorer 4, click on the image map below.
This pinch effect is, of course, created by clipping a third overlayed image whenever the mousedown and mouseup events fire over an AREA.
First, prepare a third image with the pinch effect:
![]()
Add the CSS element:
#elMenuDown {
position: absolute;
visibility: hidden;
top: 0;
left: 0
}
Add a new string variable for the third image you've created:
Add the function:
Insert your new image as a CSS element, nested in elMenu and after elMenuOver, dynamically with JavaScript:
And finally, modify the MAP's 7 links to include the two events:
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.
Created: 08/06/97
Revised: 10/16/97
URL: http://www.webreference.com/dhtml/column2/IEdown.html