Link to home
Start Free TrialLog in
Avatar of sherrip
sherrip

asked on

Mouseover on an image map

How do I add an onMouseover and onMouseOut to a linked hotspot on a FrontPage 98 Image Map?
Avatar of mkdebont
mkdebont

That is not possible. FP98 isn't good enough. First you have to give him a script and then you have to make the script working at each pictures...

You can do it in the source. (By hand)
<img src="picture.gif border="0" usemap="#testing">
<map name="testing">
  <area shape="rect" coords="18,7,55,12" href="#" onmouseover="alert('Over')" onmouseout="alert('Out')">
</map>

Avatar of sherrip

ASKER

Thanks for your help.  I did have a script similar to this, but when I opened the page in Front Page 98, it wiped it out, inserting in its place a Front Page webbot image map.  I have since replaced the image map with some Javascript.
 
If you put the onmouseover and onmouseout by hand into the source, FP98 will wipe it out when you publiscche the page, because he didn't make it.

In FP98 you can't add any onmouseover's and onmouseout's.
So what you have to do is:
1. publische the correct page.
2. Open it in Notepad
3. Make the changes
4. Save it
5. AND DO NOT OPEN IT ANY MORE IN FP!!!


TIP: FP is your worse nightmare!!! Try to use Dreamweaver because this one can add onmouseover's and onmouseout's (but also not to an imagemap!!)
ASKER CERTIFIED SOLUTION
Avatar of GilesButton
GilesButton

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's what I told him...