Closed Thread Icon

Topic awaiting preservation: Please I need you help (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=7944" title="Pages that link to Topic awaiting preservation: Please I need you help (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Please I need you help <span class="small">(Page 1 of 1)</span>\

 
Myers
Obsessive-Compulsive (I) Inmate

From: Austria
Insane since: Nov 2001

posted posted 11-26-2001 11:35

Hi everyone!!

I would lke your help on the following javascript:

I need to have a mouseover effect on diffrent areas on a map. This mouseover
should as well highlight another text, not only on the map itselves. so there should be two
mouseover effects on a map link; the map AND the text outside.

How diffcult is this to make? Anyone know the script for this? Or maybe a site wher they have used this?

Thank you for your help

Myers


Dark
Neurotic (0) Inmate
Newly admitted
posted posted 11-26-2001 16:37

Well I assume you can do text and links the same way you do pictures, right?
Doc has some good tuts here http://www.handson.nu/CODING/javascript.shtml

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-26-2001 17:14

Myers: Welcome. I think you'll need to cut the map up to get the mouseover effect and affecting other areas isn't a problem - have a look at the GN front page if you run the mouseover the links on the right in the main body it affects changes the graphic up top:
www.gurusnetwork.com

If that is something that you were thinking of I'm sure I could dig out some resources to explain the whole thing to you.

Emps


You're my wife now Dave

bitdamaged
Maniac (V) Mad Scientist

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

posted posted 11-26-2001 22:13

Um really this is super easy.
There's really two ways.

The first is to put two things in your onmouseover and onmouseout statements seperated by a semi-colon

onmouseover="dosomething1(); dosomething2"

Or (the preffered method cuz it's neater) is make a function that does your two things

function doTwoThings() {
dosomething1();
dosomething2();
}

and then call that in your mouseover and mouseout statements

omnouseover="doTwoThings()"

If you post your mouseover code and how you are calling it It would be easy to modify it or show you how to make it do 2 mouseovers at once.



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

« BackwardsOnwards »

Show Forum Drop Down Menu