View Full Version : little window appearing onmouseover

04-21-2008, 07:06 PM
I need a window to appear when I mouseover some text.
It's hard to explain what I want so I give an example I founded:

If you mouseover the blue text a window appears, I also want something like that, but the problem is I know nothing about javascript:s
And a friend told me it was the easiest way to do this with javascript.

The text that needs to appear in the window is saved in a (php) variable called '$text'.

If there is someone who can help me making this script, or knows a website where I can find this script, would make me very happy

Thanx in forward,

p.s. I hope everyone understands my English, because it isn't my first languae..:s

04-22-2008, 04:26 PM

use the title attribute on the element your text is wrapped in, if it isn't wrapped in an element presently, either wrap it within <label></label> or <a></a>

04-23-2008, 02:12 AM
Sounds like you want something a little more customizable at which point you would need to use a js tooltip. You could use a CSS tooltip as well.

CSS Tooltips:

JS Tooltips:

04-25-2008, 04:50 PM
Thanx it works perfect :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum