spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column2
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Logo

Low Bandwidth Rollovers:
creating a click effect for IE with a third image


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:

Rollover with 1 (one) Image

You read that correctly. Just 1, but it's a cheat, in a way. If you're still with us, read on!

Produced by Peter Belesis and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

All Rights Reserved. Legal Notices.
Created: 08/06/97
Revised: 10/16/97

URL: http://www.webreference.com/dhtml/column2/IEdown.html