Helpful Information
 
 
Category: Web Design
Sounds and rollovers in Image Maps

I have created an ordinary client-side image map with the usual coordinates. I have linked some of these to htm files. In other areas of this map I want to create a rollover sound or maybe a pop-up box instead of a file link. I can't find a way to do this. Is it possible? if so - how? (If this involves putting in a dummy "link" how do I do this, as everything I put in just creates a 404.)
Thanks in advance for any ideas.

Well, since you asked...

I don't know anything about sounds anyway, so I can't help you there. I've seen sounds used, but remember that .wavs are badly compressed so they may hit your load time.

I can help you with the dummy link though. I'm presuming you know how to use the onMouseover and onMouseout event handler to create the rolloever effect. To create a dummy link, just use the hash (#) symbol as in the href tag:

<a href="#" onmouseover="event(); return true">

If you want to hide this from the user, just use onmouseover and window.status to do it:

<a href="#" onmouseover="event(); window.status='Text in status bar'; return true" onmouseout="window.status=''; return true">

Cheers,
adam

[This message has been edited by dahamsta (edited 04-28-99).]










privacy (GDPR)