image map, javascript

H

Haris Bogdanoviæ

Hi.

I'm trying to make an image map with three areas and change the background
color of an area when mouse hovers over it.
It doesn't work.
Here is the code just for testing an hovering event but it doesn't work
also:
(I'm using Firefox)
-----------------------------------------------------------------

<html>
<head>
</head>
<body>
<img src="n.jpg" width="744" height="1052" border="0" usemap="#map" />
<map name="map">
<area shape="rect" coords="315,256,552,309"
onMouseOver=documenmt.writeln("b") />
<area shape="rect" coords="315,309,552,351" />
<area shape="rect" coords="315,351,553,396" />
</map>
</body>
</html>

-----------------------------------------------------------------------

Any suggestions ?

Thanks.
Haris
 
H

Haris Bogdanovic

Don't play smart. I said it was an example just to test onmouseover event
for an area.
I got it working now but don't know how to change background color of an
area with javascript ?
 
A

Adrienne Boswell

Gazing into my crystal ball I observed "Haris Bogdanovic"
<[email protected]> writing in @gregory.bnet.hr:

Don't top post. Posting corrected, see bottom.
Don't play smart. I said it was an example just to test onmouseover event
for an area.
I got it working now but don't know how to change background color of an
area with javascript ?

Don't bite the hand that feeds you. This is Usenet, not a forum, not a
24/7 help desk. Nor is it a place where you are going to be spoon fed
answers, hence John's posting, intended to get you thinking for yourself.

Now that you "got it working now", your issue is with javascript. Cross-
posted and follow-ups set to comp.lang.javascript. Good luck.
 
J

John Hosking

Haris Bogdanovic wrote:

[Top-posting corrected]
"John Hosking" wrote in message news:[email protected]...

[My .sig, which you quoted, snipped]

Don't play smart. I said it was an example just to test onmouseover event
for an area.

How can yo you tell the difference between when I play smart and when I
play dumb? Even *I* don't know the difference most of the time. :-o
I got it working now

By correcting the spelling? Or what?
but don't know how to change background color of an
area with javascript ?

Don't feel bad; neither do I. The folks in c.l.javascript might, though.

Please don't top-post. Please trim what you quote appropriately.
Have a look at <http://oakroadsystems.com/genl/unice.htm#quote>.
 
H

Haris Bogdanovic

John Hosking said:
Haris Bogdanovic wrote:

[Top-posting corrected]
"John Hosking" wrote in message news:[email protected]...

[My .sig, which you quoted, snipped]

Don't play smart. I said it was an example just to test onmouseover event
for an area.

How can yo you tell the difference between when I play smart and when I
play dumb? Even *I* don't know the difference most of the time. :-o
I got it working now

By correcting the spelling? Or what?
but don't know how to change background color of an
area with javascript ?

Don't feel bad; neither do I. The folks in c.l.javascript might, though.

Please don't top-post. Please trim what you quote appropriately.
Have a look at <http://oakroadsystems.com/genl/unice.htm#quote>.

But not capable of knowing the answer.
So I guess that makes you just a plain ass.
 
R

rf

This code has no hope in hell of changing a background colour.

You got what working? Code that changes a background colour? Where is it?
Are you going to show it to us?
But not capable of knowing the answer.

There are a large number of people here, John included, who *do* know the
answer. The trouble is that you have absolutely no bloody idea about how to
ask the question.
So I guess that makes you just a plain ass.

I would say, from the content of this thread, that it is you who are the
ass. Not a plain one either, rather a dumb-arse.

Good luck getting any further questions asked,

And be carefull with this attitude over at CLJ. Those guys will bite your
head off :)
 
H

Haris Bogdanoviæ

rf said:
This code has no hope in hell of changing a background colour.


You got what working? Code that changes a background colour? Where is it?
Are you going to show it to us?


There are a large number of people here, John included, who *do* know the
answer. The trouble is that you have absolutely no bloody idea about how
to ask the question.


I would say, from the content of this thread, that it is you who are the
ass. Not a plain one either, rather a dumb-arse.

Good luck getting any further questions asked,

And be carefull with this attitude over at CLJ. Those guys will bite your
head off :)



Just **** off.
I will go to another newsgroup.s

Mouse hovering event was not detected. I tought that Firefox has problems
with displaying image maps but I obviously made some simple mistake.
That was just a piece of code to test something.

Is that so hard to understand, moron ?
Or are you a retard ?
 
N

Neredbojias

Just **** off.
I will go to another newsgroup.s

Bon Voyage.
Mouse hovering event was not detected. I tought that Firefox has
problems with displaying image maps but I obviously made some simple
mistake. That was just a piece of code to test something.

Kind of makes one wonder what you used to test your first piece of ass.
Is that so hard to understand, moron ?
Or are you a retard ?

Look who's talking, Mr. Mistako himself. I tought I taw a puddy tat...
Perhaps they call you "Boo Boo Bogdanovic" in your local environs?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top