javascript doubel mouseover?

Mike King wrote:

> ** note that I don’t know javascript (because it’s evil)

Truer words have never been spoken. :slight_smile:


John R. Marshall - Web Developer

JRM Studios - http://www.jrmstudios.com The Hotrodding Network -
http://www.hotrodding.net

one original mouse over but yet another image switches also…

so two images swtich when one “mouseover” happens.

anyone know how? i just spent the last 3 hours trying to do this pretty
much and all the codes ive found dont work…

frustrating…

anyone know anything please tell me! Term

-:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
http://www.diligentimpact.com More Fine Hip Hop:
http://www.hiphopgateway.com

If you know how to do it with one image, then you can do it with
two images:

** NOTE, THIS IS NOT JAVASCRIPT CODE ** ** THIS IS PSUEDO-CODE FOR
EXAMPLE **

function foo(img1, img1flip, img2, img2flip) { document.images.img1.src =
img1flip; document.images.img2.src = img2flip; }

** note that I don’t know javascript (because it’s evil) and I’m only
trying to give you an example so that you may think more clearly about
your problem and find the solution yourself. **

-Mike K.

Term wrote:
>
> one original mouse over but yet another image switches also…
>
> so two images swtich when one “mouseover” happens.
>
> anyone know how? i just spent the last 3 hours trying to do this pretty
> much and all the codes ive found dont work…
>
> frustrating…
>
> anyone know anything please tell me! Term
>
> –
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com More Fine Hip Hop:
> http://www.hiphopgateway.com

Hi Term,

It’s pretty easy actually. I do it on my site (not calling a function
however). An example of the mouseover is:

onmouseover=“document.services.src=nav_on.src;
document.description.src=desc_Services.src;”


Adam Gordon SBA Design - web site and graphic design
http://www.sbadesign.com adam@sbadesign.com “Term” <turmz@hotmail.com>
wrote in message news:9m1sjj$rea$1@constitution.worldwebserver.com
> one original mouse over but yet another image switches also…
>
> so two images swtich when one “mouseover” happens.
>
> anyone know how? i just spent the last 3 hours trying to do this pretty
> much and all the codes ive found dont work…
>
> frustrating…
>
> anyone know anything please tell me! Term
>
> –
>
>
> -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic Design:
> http://www.diligentimpact.com More Fine Hip Hop:
> http://www.hiphopgateway.com

hey John…am I still in line for that email :slight_smile:


Rodney Blackwell - site owner/administrator

http://T-ShirtCountdown.com http://TalkT-Shirts.com/
http://ihateclowns.com/ http://NewT-Shirts.com/ http://DomainJunkies.com/
http://EmailSources.com/ http://SellYourLogo.com/ http://JackAssMail.com

Free Color Business Cards http://www.linkcounter.com/go.php?linkid=153264

“John R. Marshall” <john@jrmstudios.com> wrote in message
news:9m234j$1g2$1@constitution.worldwebserver.com
> Mike King wrote:
>
> > ** note that I don’t know javascript (because it’s evil)
>
> Truer words have never been spoken. :slight_smile:
>
> –
> John R. Marshall - Web Developer
>
> JRM Studios - http://www.jrmstudios.com The Hotrodding Network -
> http://www.hotrodding.net

Why is JavaScript evil?


~Sly

“Mike King” <mike@webcodefocus.com> wrote in message
news:3B848027.120D0410@webcodefocus.com
>
> If you know how to do it with one image, then you can do it with
> two images:
>
> ** NOTE, THIS IS NOT JAVASCRIPT CODE ** ** THIS IS PSUEDO-CODE FOR
> EXAMPLE **
>
> function foo(img1, img1flip, img2, img2flip) { document.images.img1.src
> = img1flip; document.images.img2.src = img2flip; }
>
> ** note that I don’t know javascript (because it’s evil) and I’m only
> trying to give you an example so that you may think more clearly about
> your problem and find the solution yourself. **
>
> -Mike K.
>
> Term wrote:
> >
> > one original mouse over but yet another image switches also…
> >
> > so two images swtich when one “mouseover” happens.
> >
> > anyone know how? i just spent the last 3 hours trying to do this
> > pretty
much
> > and all the codes ive found dont work…
> >
> > frustrating…
> >
> > anyone know anything please tell me! Term
> >
> > –
> >
> > -:- Term -:- E-Mail: turmz@hotmail.com AIM: turmz Web & Graphic
> > Design: http://www.diligentimpact.com More Fine Hip Hop:
> > http://www.hiphopgateway.com

“Sylvester O. a.k.a. SychoSly” wrote:
>
> Why is JavaScript evil?

Never been standardized.

-Mike K.