Closed Thread Icon

Preserved Topic: window.status??? it doesnt work! (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17826" title="Pages that link to Preserved Topic: window.status??? it doesnt work! (Page 1 of 1)" rel="nofollow" >Preserved Topic: window.status??? it doesnt work! <span class="small">(Page 1 of 1)</span>\

 
chris
Nervous Wreck (II) Inmate

From: Oslo, Norway
Insane since: Jul 2000

posted posted 08-11-2000 19:16

I have a map of the world, and i have divided it into regions as in the code below.
on mouseover i would like to display the name of the continent in the status bar! The mouseout works fine but not the mouseover.
Whats wrong?


<map name="world">
<!--usa-->
<area shape="rect" coords="0,0,41,35" href="./partners.asp?contnr=5"
onMouseOver = "imgOVER('img1');window.status='USA';return true"
onMouseOut = "imgOUT('img1');window.status='CadArc.com';return true" target="main">
<!--sør-am-->
<area shape="rect" coords="23,35,55,80" href="./partners.asp?contnr=2"
onMouseOver = "imgOVER('img2');window.status='SOUTH AMERICA';return true"
onMouseOut = "imgOUT('img1');window.status='CadArc.com';return true" target="main">
<!--eur-->
<area shape="rect" coords="41,0,85,35" href="./partners.asp?contnr=0"
onMouseOver = "imgOVER('img3');window.status='EUROPE';return true"
onMouseOut = "imgOUT('img1');window.status='CadArc.com';return true" target="main">
<!--afr-->
<area shape="rect" coords="55,35,85,69" href="./partners.asp?contnr=3"
onMouseOver = "imgOVER('img4');window.status='AFRICA';return true"
onMouseOut = "imgOUT('img1');window.status='CadArc.com';return true" target="main">
<!--asia-->
<area shape="rect" coords="85,0,140,50" href="./partners.asp?contnr=4"
onMouseOver = "imgOVER('img5');window.status='ASIA';return true"
onMouseOut = "imgOUT('img1');window.status='CadArc.com';return true" target="main">
<!--oceania-->
<area shape="rect" coords="108,53,140,76" href="./partners.asp?contnr=1"
onMouseOver = "imgOVER('img6');window.status='OCEANIA';return true"
onMouseOut = "imgOUT('img1');window.status='CadArc.com';return true" target="main">
</map>

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-11-2000 19:28

Well, it looks like it should work, assuming nothing is wrong with the imgOVER(...) function. If there is a flaw in this function, then it will never get to the mouseover status text! Look there for your problem, 9 chances out of ten that'll be your difficulty. If you run this page inj Netscape, type "javascript:" in the address bar, it'll launch the Communicator Console which should help you locate the offending bug.

Your pal, -doc-

chris
Nervous Wreck (II) Inmate

From: Oslo, Norway
Insane since: Jul 2000

posted posted 08-11-2000 19:55

ok.. in the function imgoOVER() I have this line:
document.wmap.src = eval(img + "over.src");

the name of the picture is wmap!

is this wrong?

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-12-2000 00:04

Hmm, no there's nothing really wrong about that line, it *could* be a good line, hard to tell. Really, it'd be much easier if you could point me to the page that doesn't work, I'd be able to spot the flaw in seconds, I bet. Post an URL for a test page, or a direct link to the broken page, and I'll take a look see.

Your pal, -doc-

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-12-2000 23:25

Still waiting! .... .... .... :-)

Your pal, -doc-

chris
Nervous Wreck (II) Inmate

From: Oslo, Norway
Insane since: Jul 2000

posted posted 08-14-2000 12:34

ups.. sorry... its been a weekend and all.. <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif">

here's an url: www.cheezyboys.com/helpme/help.asp

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 08-14-2000 19:44

Gotta Love Gates&Co.
I got this:

Microsoft JET Database Engine error '80004005'

Could not find file 'g:\activewebroot\00017\u00017397\helpme\thecore.mdb'.

//global.asa, line 38

if it makes you feel any better I had Notepad crash my machine this morning



Walking the Earth like Kane

chris
Nervous Wreck (II) Inmate

From: Oslo, Norway
Insane since: Jul 2000

posted posted 08-15-2000 14:16

gotta love those error msg....
it should be fixed now (i hope)
but my problem with the java-script is not fixed yet, so i hope someone can still help me

chris

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-15-2000 20:41

Sorry, I didn't get an error! It worked fine and looked pretty cool. I use IE 5.0 on win 98. What are you running it on?

chris
Nervous Wreck (II) Inmate

From: Oslo, Norway
Insane since: Jul 2000

posted posted 08-15-2000 21:07

I dont get an error either... the mouseover simply doesnt work... its supposed to say the name of the continents in the status bar...
the mouseout works fine though...!?!!

chris

« BackwardsOnwards »

Show Forum Drop Down Menu