Any simple javascript to show an image when mouse over?

Any simple javascript to show an image when mouse over?

am 21.05.2007 09:14:02 von Kelvin

Hi,

I would like to have a very simple code to show an image when the
mouse is hovered over a link.
some codes in HTML like
onmouseout="hideimage()" href="./user/image/vg001.gif" target="_blank"
> A>

I make a search and found a lot of complicated javascripts.
Can anyone give me a simple sample?

Thank you a lot,

Best regards,
Kelvin

Re: Any simple javascript to show an image when mouse over?

am 21.05.2007 16:27:07 von Adrienne Boswell

Gazing into my crystal ball I observed kelvin
writing in news:1179731642.144085.194360@u36g2000prd.googlegroups.com:

> Hi,
>
> I would like to have a very simple code to show an image when the
> mouse is hovered over a link.
> some codes in HTML like
>
> onmouseout="hideimage()" href="./user/image/vg001.gif" target="_blank"
>> > A>
>
> I make a search and found a lot of complicated javascripts.
> Can anyone give me a simple sample?
>
> Thank you a lot,
>
> Best regards,
> Kelvin
>
>

Why bother with javascript in the first place? CSS is the way to go.
Oh, and please don't use target="_blank", it's very annoying and breaks
the back button.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Re: Any simple javascript to show an image when mouse over?

am 22.05.2007 00:07:54 von Kelvin

Hi,

> Why bother with javascript in the first place? CSS is the way to go.
It is a great new I have heard. Can anyone tell me how to do it (show
an image when mouse is over a link) by css or any simple way for I am
a newbie at HTML/CSS design?

Thank you a lot,

Best regards,
Kelvin

On May 21, 10:27 am, Adrienne Boswell wrote:
> Gazing into my crystal ball I observed kelvin
> writing innews:1179731642.144085.194360@u36g2000prd.googlegroups.com :
>
>
>
> > Hi,
>
> > I would like to have a very simple code to show an image when the
> > mouse is hovered over a link.
> > some codes in HTML like
> >
> > onmouseout="hideimage()" href="./user/image/vg001.gif" target="_blank"
> >> > > A>
>
> > I make a search and found a lot of complicated javascripts.
> > Can anyone give me a simple sample?
>
> > Thank you a lot,
>
> > Best regards,
> > Kelvin
>
> Why bother with javascript in the first place? CSS is the way to go.
> Oh, and please don't use target="_blank", it's very annoying and breaks
> the back button.
Thank you a lot for this comments. I will remove them.
>
> --
> Adrienne Boswell at Home
> Arbpen Web Site Design Serviceshttp://www.cavalcade-of-coding.info
> Please respond to the group so others can share

Re: Any simple javascript to show an image when mouse over?

am 22.05.2007 05:42:07 von Adrienne Boswell

Gazing into my crystal ball I observed kelvin
writing in news:1179785274.364539.95410@x35g2000prf.googlegroups.com:

First, don't top post...
Second, don't my put response to the top and make ME at top poster!
Posting fixed...
> On May 21, 10:27 am, Adrienne Boswell wrote:
>> Gazing into my crystal ball I observed kelvin
>> writing innews:1179731642.144085.194360@u36g2000prd.googlegroups.com :
>>
>> > Hi,
>>
>> > I would like to have a very simple code to show an image when the
>> > mouse is hovered over a link.
>> > some codes in HTML like



>> > I make a search and found a lot of complicated javascripts.
>> > Can anyone give me a simple sample?
>>
>> > Thank you a lot,
>>
>> Why bother with javascript in the first place? CSS is the way to go.
>> Oh, and please don't use target="_blank", it's very annoying and
breaks
>> the back button.
> Thank you a lot for this comments. I will remove them.

That's great! Another convert! Yippee!

>>
>
> It is a great new I have heard. Can anyone tell me how to do it (show
> an image when mouse is over a link) by css or any simple way for I am
> a newbie at HTML/CSS design?
>

I suggest you read some HTML and CSS tutorials, but here's something
quick and dirty:


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share