Image pop up

S

Saravana

Hi All,

I want a javascript for display a image onmouseover.

Plz reply me urgently
 
S

Saravana

Saravana said:
I want a javascript for display a image onmouseover.

I want fresh rolls and a cup of Earl Grey tea, hot[tm].
Plz reply me urgently

[x] done

PointedEars

P.S.:http://www.catb.org/~esr/faqs/smart-questions.html

That is a very good link :)


And here is my question.

A hyperlink is in my html page.When my mouse arrow moves over the
link,an image should be shown.

I am new to javascript ,

The picture should display in onmouseover event and it hides in
onmouseout event.I done it in that href tag.Now I need a function that
can be paste in the <script> tag , like showpicture() and
hidepicture()

Any body can help me ?
 
R

rf

Saravana said:
Saravana said:
I want a javascript for display a image onmouseover.

I want fresh rolls and a cup of Earl Grey tea, hot[tm].
Plz reply me urgently

[x] done

PointedEars

P.S.:http://www.catb.org/~esr/faqs/smart-questions.html

That is a very good link :)


And here is my question.

A hyperlink is in my html page.When my mouse arrow moves over the
link,an image should be shown.

I am new to javascript ,

The picture should display in onmouseover event and it hides in
onmouseout event.I done it in that href tag.Now I need a function that
can be paste in the <script> tag , like showpicture() and
hidepicture()

Use CSS.
 
T

The Natural Philosopher

Saravana said:
Saravana said:
I want a javascript for display a image onmouseover.
I want fresh rolls and a cup of Earl Grey tea, hot[tm].
Plz reply me urgently
[x] done

PointedEars

P.S.:http://www.catb.org/~esr/faqs/smart-questions.html

That is a very good link :)


And here is my question.

A hyperlink is in my html page.When my mouse arrow moves over the
link,an image should be shown.

I am new to javascript ,

The picture should display in onmouseover event and it hides in
onmouseout event.I done it in that href tag.Now I need a function that
can be paste in the <script> tag , like showpicture() and
hidepicture()

Any body can help me ?

Make up a div, with an id and style: hidden.
Put the picture in that.

Onmouseover call a function to unhide that picture.

If you want the picture to overlay other elements, you will have to use
absolute postioning and z-index.

There, thats lots of words that you can google and read about. Damned if
I write your code for you tho ;-)
 
T

The Natural Philosopher

Stevo said:
URGENTLY.
And what makes you think you have the right to shout at people who owe
you nothing, and don't get paid for it.


Try

..nice
{
shout: no;
}
 
S

Saravana

Saravana said:
Saravana wrote:
I want a javascript for display a image onmouseover.
I want fresh rolls and a cup of Earl Grey tea, hot[tm].
Plz reply me urgently
[x] done
PointedEars
P.S.:http://www.catb.org/~esr/faqs/smart-questions.html
That is a very good link :)
And here is my question.
A hyperlink is in my html page.When my mouse arrow moves over the
link,an image should be shown.
I am new to javascript ,
The picture should display in onmouseover event and it hides in
onmouseout event.I done it in that href tag.Now I need a function that
can be paste in the <script> tag , like showpicture() and
hidepicture()
Any body can help me ?

Make up a div, with an id and style: hidden.
Put the picture in that.

Onmouseover call a function to unhide that picture.

If you want the picture to overlay other elements, you will have to use
absolute postioning and z-index.

There, thats lots of words that you can google and read about. Damned if
I write your code for you tho ;-)

Thanks for the help. I searched google with your words like "absolute
postioning and z-index" , I gained a lot of information.It helped my
problem too.

And I really happy to meet a developer in this group .
 
T

The Natural Philosopher

Saravana said:
Saravana said:
On Jan 18, 3:42 pm, Thomas 'PointedEars' Lahn <[email protected]>
wrote:
Saravana wrote:
I want a javascript for display a image onmouseover.
I want fresh rolls and a cup of Earl Grey tea, hot[tm].
Plz reply me urgently
[x] done
PointedEars
P.S.:http://www.catb.org/~esr/faqs/smart-questions.html
That is a very good link :)
And here is my question.
A hyperlink is in my html page.When my mouse arrow moves over the
link,an image should be shown.
I am new to javascript ,
The picture should display in onmouseover event and it hides in
onmouseout event.I done it in that href tag.Now I need a function that
can be paste in the <script> tag , like showpicture() and
hidepicture()
Any body can help me ?
Make up a div, with an id and style: hidden.
Put the picture in that.

Onmouseover call a function to unhide that picture.

If you want the picture to overlay other elements, you will have to use
absolute postioning and z-index.

There, thats lots of words that you can google and read about. Damned if
I write your code for you tho ;-)

Thanks for the help. I searched google with your words like "absolute
postioning and z-index" , I gained a lot of information.It helped my
problem too.

And I really happy to meet a developer in this group .

Me? I am an ageing code hacker.I know about two months more than you.
Thats all ;-)

Get stuck in. It unravels like the long turd colored spaghetti Javashite
really is.

Howevr, its just about te only gam
me in town, so whe have to deal with it right?

Now where is that glass of wine I poured?
 

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

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top