View Full Version : onmouseover mystery

02-22-2007, 02:18 PM
hello! seeking help

I am sort of new to web design, I am trying to make a window of text connected to the mouse to appear when the mouse goes over some images (like the instructions that appear when you stop for some seconds on an application button)
I simply can't find it
have you an idea of what to do?

02-22-2007, 02:57 PM
what your after is called a tooltip


02-22-2007, 03:36 PM
Hi factory and welcome to the forums!
Can you point to an example online of what you're after? There's a couple of different ways of doing this, all a little different.

02-22-2007, 03:44 PM
what I am trying to do is to have a window appear under the mouse, like in the explorer print icon for instance, OR to have a small portion of text to appear on the side of the arrow, similar to the control-alt window (i have mac) although smaller

thanks guys!

davidj, sorry, I don't get the hack... also it looks like a rollover? is it a rollover?

02-22-2007, 03:45 PM
Aye - a tooltip

02-22-2007, 03:50 PM
Tooltips can be done in a couple of different ways. I think what you're describing is close to the 'title' attribute, which you can insert in any HTML element.

<img src="photo.jpg" title="Guy actually bringing coal to Newcastle">

02-22-2007, 03:54 PM
dont have much control over that.

with my method you can add styles and add pics

02-22-2007, 04:21 PM
ok -I couldn't see the code in explorer, now in firefow i see everything thanks I ll try and paste it and see what happens :-)

02-22-2007, 04:22 PM
I'm not arguing against that david, I'm just saying there's different ways of achieving a tooltip effect, and from what factory has said so far, I think the title attribute would work great.

I've used tooltips with images and text formatting as well, and they work great, I agree.

02-22-2007, 04:24 PM
yes but my method makes you more attractive to the ladies

02-22-2007, 04:24 PM
I don't find anything close to "title attribute" in the DW guide - any tip where to look?
I don't think it's available through design view, just go into code view and add the title attribute per my example above.

02-22-2007, 04:26 PM
yes but my method makes you more attractive to the ladiesAre you saying I need it?? 8-)

02-22-2007, 04:29 PM
dont know.

Although you look hideous in that avitar

02-22-2007, 04:46 PM
hey I found everything it was bloody explorer's fault, it doesn't show the full code, only bits :-)

the easy way is fine - to know how to make more sophisticated tooltips is also fine!!

about the ladies, I wouldn't know, they are notoriously unpredictable