Click to See Complete Forum and Search --> : message tips on link mouseover
tripwater
05-29-2003, 02:03 PM
I have a site that queries for a list of task titles that when you click on the link takes you to a more detailed page of that task.
What I am trying to do is on the page where the list of links are ...onmouseover popup a little info or tip like what happens with the formtooltip() in a form. I have seen this done on another site (that I can't find) that when you moused over the images they brought up a bio of the person in the pic.
I would like to do this as sometimes the title of the task may not be descriptive enough and I don't want the user to have to click the link, go to the next page to find out it is the wrong task. Just mouseover the title link and a brief description popup.
Can this be done with JS? Or was it flash I was viewing?
Thank you for any help.
khalidali63
05-29-2003, 02:06 PM
you should find some tooltip scripts here
www.dynamicdrive.com
Charles
05-29-2003, 02:13 PM
There's no need to resort to JavaScript here and have your "tooltip" fail 13% of the time. Plain old HTML has a way to do it.
<a href="http://www.webcom.com/kierke/"><img alt="Kierkegaard" src="http://www.webcom.com/kierke/Sk.gif" title="The greatest philosopher yet born."></a>
khalidali63
05-29-2003, 02:24 PM
Originally posted by Charles
There's no need to resort to JavaScript here ></a> [/B]
Hey Charles is there a way to have the html tool tip stay visible more then couple or 3 seconds?
if there is then we all should know about it don't you think?
ELse there are times when its needed to show a custom tool tip.
requestcode
05-29-2003, 02:25 PM
For excellent Tooltips try this link:
http://www.bosrup.com/web/overlib/
Charles
05-29-2003, 02:28 PM
You can't exactly call them excellent if they don't work and they're more difficult than the method that does work.
khalidali63
05-29-2003, 02:31 PM
Thats not the point here, is it.
Point is if one is needed then it will be used other then that...html one will work.And as I have said it a million times before for your thick skull.I'll say it again.Its not your damn job to to tell whats write or wrong for people you just suggest,its them who need to decide whats good or bad for them.
Ggoodd.
Charles
05-29-2003, 02:43 PM
Originally posted by khalidali63
It[']s not your damn job ... to tell what[']s [right] or wrong for people[;] you just suggest, it[']s them who need to decide what[']s good or bad for them. Now, you wouldn't be trying to tell me what's good or bad for me, would you?
But I suppose you are right. The job of telling us what we should do belongs to the W3C.
6.3 Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported.
http://www.w3.org/TR/WCAG10/wai-pageauth.html#tech-scripts
And one's government, which in my case is the US Federal Govenment.
Covered entities under the ADA are equired to provide effective communication, regardless of whether they generally communicate through print media, audio media, or computerized media such as the Internet.
http://www.usdoj.gov/crt/foia/tal712.txt
tripwater
05-29-2003, 05:10 PM
Thanks khalidali63 that works for me.
I tried the tooltips earlier and being that I am using queried info to populate this tip if it was at any length it would timeout. So your solution worked great. I found what I needed on that site. Had to tweek it to work with php and replace carrage returns/line feeds with a <br> on the solution I used.
Oh BTW I did not mean to start a war.
Thanks again.
Go Khalid... go Khalid... go Khalid...
lol
Vladdy
05-29-2003, 07:21 PM
While overlib does have a few neat rendering features, but they do not degrade well, as Charles pointed out, and they are pain to install - you have to add mouse events to all elements which need tooltips.
My implementation www.klproductions.com/klToolTipsDemo.html does not have these limitations. It works with the existing title attribute so those who do not have javascript get the default behaviour.
Vladdy
05-29-2003, 07:30 PM
As far as ..
Originally posted by khalidali63
Its not your damn job to to tell whats write or wrong for people you just suggest,its them who need to decide whats good or bad for them.
... I strongly believe that it is my responsibility as educator to teach correct things. Those who ask questions most of the times do not have enough experience in the subject to judge what is right and what is wrong.
Suggesting the use of methods that contradict the current W3C standards and existing web development guidelines is about the same as suggesting someone short on cash to go rob a bank. Not only you disservice those who ask for advice, you show your own incompetence as well.
Charles
05-29-2003, 09:37 PM
Originally posted by Vladdy
My implementation www.klproductions.com/klToolTipsDemo.html does not have these limitations. It works with the existing title attribute so those who do not have javascript get the default behaviour. I salute you. One ought not to eschew JavaScript but rather, one ought to employ one's creativity and skill so that the JavaScript is an enhancement to the page and not a necessity. True Nerdvana is achieved when the page is at its best in all browsers.