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 Robert Baer on April 13, 2006, 8:12 pm
Please log in for more thread options


Alan J. Flavell wrote:
> On Thu, 13 Apr 2006, Robert Baer wrote:
>
> [quotes the answer to his question, despite *still* apparently
> ignoring it]
>
>
>> Thanks for the info, but one does not need to put an HTML "page"
>>on a server to see how it works.
>
>
> You really are too stubborn to seem capable of using any help.
> Bye.
I ignored nothing.
Somehow you missed that i accepted the code and used it sucessfully,
and even asked how wording should be to indicate where the help came from.
As far as thinking my statement "one does not need to put an HTML
page on a server" being seen as stubborn, i think you missed that i was
stating a fact learned from experience.
And i believe i mentioned that all HTML code (good, bad, whatever)
was developed on a off-line computer and tested to be at least working
(albeit it may have massive errors).
In this particular case, the final, validated code can be seen at:
http://oil4lessllc.com/StripperWells.htm

Posted by Andy Dingley on April 13, 2006, 8:44 pm
Please log in for more thread options


wrote:

> Thanks for the info, but one does not need to put an HTML "page" on a
>server to see how it works.

You're the expert, so you go fix it.

<plonk>


Posted by Robert Baer on April 14, 2006, 4:17 am
Please log in for more thread options


Andy Dingley wrote:

> wrote:
>
>
>> Thanks for the info, but one does not need to put an HTML "page" on a
>>server to see how it works.
>
>
> You're the expert, so you go fix it.
>
> <plonk>
>
I am so far from being an expert, that there is no term other than
"ignorant dummy".
If you cannot test an HTML page on your computer, then that is your
problem.

Posted by Robert Baer on April 13, 2006, 6:19 am
Please log in for more thread options


VK wrote:

> 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.
** Due completely to my abysimal ignorance; do not have the faintest
idea as to what a "rollover block" is or means or what it would look
like or act.

>
> 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.
** So the size of a given image or text should always be specified in a DIV?
That leads me to the question about placement of that "object" -
should that also always be given?

>
> Your code must be not working for some subtle typo you've made while
> copying and pasting and not represented here.
** Possible; i have done a Copy of some code from one validated HTML
prog i made that worked, and did a Paste into another validated HTML
prog i made that worked; theresult made the validator barf all over the
place.
The first time i was pissed and tossed the results; the second time i
carefully by hand over-typed the same characters - including <CR> and
<LF> being forced by hand.
No visible difference, but the result worked.
Ther must be a way to find out what squirlies are there.

>
> 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>
>
Will try that; all my experimental code with images are on another
drive and OS.
Thanks.

Posted by VK on April 13, 2006, 7:34 am
Please log in for more thread options



Robert Baer wrote:
> ** Due completely to my abysimal ignorance; do not have the faintest
> idea as to what a "rollover block" is or means or what it would look
> like or act.

Rollover block/effect is a piece of your page that changes its
appearance depending on if the moise pointer over it or not. (Could be
a better wording, but clear enough I hope).
In your sample these are Roman letters as you may guess.

> ** Possible; i have done a Copy of some code from one validated HTML

> prog i made that worked, and did a Paste into another validated HTML
> prog i made that worked; theresult made the validator barf all over the
> place.

I would imagine.

Mr. Baer, copy-n-paste may work only if the person has some, even the
most wague idea of *what* is he copying and pasting. Otherwise it will
be a continuous chain of disappointments then two perfectly working
codes are totalling into one non working - as it is right now.
I mean it is possible to have a new electric schema explained - if you
already worked with others. But you cannot just grab first time ever
an iron and pull it into your TV set in hope that contacts will get
connected in the right way.

You current level of knowledge doesn't let you yet to do manual coding.
If you are determined to learn Web technics by your own (which is great
by itself) then appreciate the job Martyr2 did for you:
<http://groups.google.com/group/comp.lang.javascript/tree/browse_frm/thread/116218c237182715/97e67b455e35481a?rnum=1&hl=en&_done=%2Fgroup%2Fcomp.lang.javascript%2Fbrowse_frm%2Fthread%2F116218c237182715%2F43e1f6e79f731d4c%3Fhl%3Den%26#doc_e45272a768fbeb68>
It is indeed above of that one could regularly expect from a public
newsgroup. His code does work - your code looks the same but it
doesn't. So take both and study them until the latest smallest
difference will be totally clear to you. Do not ask for each point "why
did you place here > or + or - ?". This is a wrong approach. Google
instead for the tag or attribute where you see a change. Find out
everything about this tag or attribute. Make several copies of the
working sample and play with it until you feel yourselve comfortable.
Come back for more help - but only after the above stage is
accomplished.

If you are willing to invest some money into your Web education, this
list may be of some interest to you:
<http://dir.yahoo.com/Regional/U_S__States/California/Metropolitan_Areas/San_Francisco_Bay_Area/Business_and_Shopping/Business_to_Business/Computers/Training_and_Development/>

If you are in a time frame and/or on narrow funds, you have to use some
higher level authoring software with error control and a set of
scriptable widgets (another term you may want to remember).

You can download then a 30-day trial copy of Macromedia Dreamweaver:
<http://www.macromedia.com/cfusion/tdrc/index.cfm?product=dreamweaver>


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