...

View Full Version : little window appearing onmouseover



bram
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:
http://www.ultimate-guitar.com/tabs/r/rem/supernatural_superserious_crd.htm

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,
Bram

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

mjlorbet
04-22-2008, 04:26 PM
http://msdn2.microsoft.com/en-us/library/ms534683.aspx

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>

_Aerospace_Eng_
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:
http://www2.psacake.com:81/web/jl.asp
http://trentrichardson.com/examples/csstooltips/
http://www.fijiwebdesign.com/fiji-web-design-blog/css-tooltips-floating-html-elements.html
http://www.communitymx.com/content/article.cfm?page=4&cid=4E2C0

JS Tooltips:
http://dynamicdrive.com/dynamicindex5/index.html

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum