Put a hidden <img> in your html.

<img id="myimage" src="image.gif" visibility="hidden"/>

<div id="mymouse">Hello</div>

Jquery:

$("#mymouse").mouseover(bla bla
{
   $("#myimage").... do things (e.g. set top, left, margins, color,
MAKE VISIBLE.)  - best to just add a class in lieu of this

mouseout(bla bla

   $("#myimage").... reverse everything you did on mouseover - best to
remove the added class
}




On Nov 2, 2:25 pm, ehm djii <ehmd...@gmail.com> wrote:
> hello,
> i am pretty new to jquery and hope this is the right place to ask.
>
> my problem is the following.
> when i mouseover a certain element on a page, i want that a certain
> image is displayed in the top right corner of the page, no matter
> where the it is currently scrolled.
>
> how can i achieve that?
> thanks a lot!

Reply via email to