Click to See Complete Forum and Search --> : pop up display window help by monty


norfolk35
07-07-2005, 02:45 PM
i am trying to create the pop up window display, when you hover over a link a small window appears with information in it, just like on this site when hovering over the threads, im not sure if this is even script. could someone please help and direct me to the script requred, many thanks.
monty. www.nowad.co.uk

A1ien51
07-07-2005, 03:31 PM
you can look for JavaScript tooltips or CSS tooltips or you could use the plain old title attribute in the tag

<input type="text" name="txt1" title="Enter You Text">

Eric

talal
07-07-2005, 03:32 PM
you can just use the 'title' attribute in html tag to display a tool tip.

norfolk35
07-10-2005, 05:08 PM
Thanks for replying but I dont understand. To me a Title Tag is whats displayed at the top of the page, how does this display boxed text on mouseover? Sorry to sound thick, if I can see it I can work with it so direct me somewhere if you like.
Thanks, Monty.

A1ien51
07-10-2005, 07:20 PM
Try adding the title attribute to an element and put your mouse over it. You will see that it does not relate to the title tag that you place in the header.

Eric

norfolk35
07-11-2005, 04:17 PM
Eric, thanks for your help, it is much appreciated. Let me explain, you obviously know exactly what your talking, I however have taught myself the very little I know.I am a tyre fitter, so dont do this for a living, I have however hand coded for about the last 10 years, I havent got a clue what people mean when they say element and attribute etc. I have tried what you say and all I get is a box you can type in, All I require is a small pre typed dialogue box when you mouse over a link, not a popup, something that disappears when you move the mouse away, purely a info box. I am very sorry to sound so thick, but this is really a long ongoing hobby, not something I usually like to ask help for but this one has really been bugging me for months. As I say, many thanks for everyones help on this one.
Monty..

A1ien51
07-11-2005, 06:17 PM
paste this into an html page

<input type="text" name="text1" title="This is from some title">
<div title="asdf test asdf">asdfghjkl</div>
<span title="test">asdf</span>


place your mouse over the elements. You should see the text.

Eric

norfolk35
07-12-2005, 04:12 PM
Eric, your an angel with the patients of a Saint or something like that.
Many thanks, hoping I wont have to pester you again.
Monty..