Click here to get back home

How to get MAP to work with mouseover

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to get MAP to work with mouseover Robert Baer 04-10-2006
Get Chitika Premium
Posted by Adrienne Boswell on April 13, 2006, 2:11 am
Please log in for more thread options


Gazing into my crystal ball I observed Robert Baer

>> On the World Wide Web. If you are asking for a free help, the least
>> you should do is your homework, including setting up a demo page so
>> that others won't have to construct a real case for you.
>>
>> If you don't know how to create web pages, consider consulting a
>> primer.
>>
> Let me get this straight.
> I presented a complete HTML document, and you claim it is a
> "snippet". Then you want me to find somewhere on the WWW that does
> not exist at
> this moment, to place that code.
> Pray tell, what good will that do?
>

You are supposed to post the code somewhere on the WWW. There are
several reasons:
1. The code that you posted has images, and we do not have the images.
2. You copy and pasted the code from editor to your news client, it is
possible there was an error.
3. When you put the code up on the WWW, we can see exactly what it is
doing, or not doing.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.cavalcade-of-coding.info

Posted by Robert Baer on April 11, 2006, 10:40 pm
Please log in for more thread options


Jukka K. Korpela wrote:

>
>
>> Err...i presented the code and stated that the MAP prevents the
>>mouseover section above it from working.
>
>
> You didn't say what really happens.
>
> And you presented a code snippet, not a URL.
>
>
>> URL?
>
>
> Indeed.
>
>
>> Pray tell me where i should post such a theoretical webpage, when the
>>code was given.
>
>
> On the World Wide Web. If you are asking for a free help, the least you
> should do is your homework, including setting up a demo page so that others
> won't have to construct a real case for you.
>
> If you don't know how to create web pages, consider consulting a primer.
>
Oh, i forgot...i did mention what happens - *twice*.

Posted by Robert Baer on April 12, 2006, 3:10 am
Please log in for more thread options


Here are the URLs that show only one (MAP or onMouseOver) works, and
not both.
If anyone can tell me how to get both to work, i would appreciate it.
http://oil4lessllc.com/omy2.htm
http://oil4lessllc.com/sw4.htm

Please no bitching that this is a retail site; it was the only way i
could get the (posted) code to a URL site.

Posted by Jukka K. Korpela on April 12, 2006, 4:31 am
Please log in for more thread options


Robert Baer wrote:

> Here are the URLs that show only one (MAP or onMouseOver) works, and
> not both.
> If anyone can tell me how to get both to work, i would appreciate it.

Well, after your pointless babbling and even insults, I'm not interested
any more. Hope this helps. Have a nice day. Better luck^H^H^H^Hbehavior
next time.

Posted by VK on April 12, 2006, 5:26 am
Please log in for more thread options


OP:
<full problem description>
> Would someone be kind as to lend some help?
<full HTML code posted>

Mr. Korpela:
> Please specify what you mean by "works" and its opposite,
> and please provide URLs for the two versions you have created.

<snip>

OP:
> Here are the URLs that show only one (MAP or onMouseOver) works,
> and not both.

Mr.Korpela:
> Well, after your pointless babbling and even insults, I'm not interested
> any more. Hope this helps. Have a nice day. Better luck^H^H^H^Hbehavior
> next time.

Mr. Korpela: my sorry duty is to inform you that you are currently
acting like a complete asshole - without any asterix.

To OP: in the posted links one doesn't have usemap, another one doesn't
have rollover block: thusly the difference in the behavior is
completely sustained by the code.

The original code posted here does work - I checked it with random
images on my side. As a side note: I would suggest to specify widht and
height for your div's. Your presumption that they always will have the
minimum needed size to accomodate the content is reasonnable but not
always true.

Your code must be not working for some subtle typo you've made while
copying and pasting and not represented here.

Here the minimum proof of concept (hover the yellow div, then try
California):

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
</head>

<body>
<img src="Usa52.gif" width="760" height="431" border="0"
usemap="#map1">
<map name="map1">
<area shape="rect" coords="139,171,216,303"
href="http://www.google.com">
</map>
<div onmouseover="this.innerHTML='foo';"
onmouseout="this.innerHTML='bar';" id="Layer1"
style="position:absolute; width:170px; height:78px;
background-color:#FFFF00; z-index:1; left: 111px; top: 118px"></div>
</body>
</html>


Similar ThreadsPosted
embedding + mouseover September 24, 2004, 12:45 am
Problem with CSS Mouseover September 24, 2006, 9:39 am
mouseover/hover Link September 22, 2006, 3:05 am
HTML image map mouseover help October 7, 2006, 1:11 pm
IE6 elements out of place until mouseover? September 25, 2008, 5:54 pm
Simple table row highlighting - on mouseover October 13, 2004, 10:02 am
Is it possible to mouseover a GRAPHIC . . . that launches another (freestanding) GRAPHIC (ie. when flash is _not_ available)? December 8, 2006, 1:03 pm
Does this Work? November 20, 2008, 6:11 am
Would UBB thread work for this? March 9, 2006, 2:13 pm
CSS positioning: why does this work? May 15, 2006, 2:12 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap