Page 1 of 1

how can i add tool tip in my php code

Posted: Wed Feb 11, 2004 11:53 pm
by no1shah
hello friend
i like to use to tool tip function,i.e. when mouse is over particular oblect it should show a tool tip ,how should i code for this

Posted: Wed Feb 11, 2004 11:55 pm
by John Cartwright
Ummm.... what?

I don't know what a tooltip is I'm assuming it is like when you have your mouse over a link it provides a little blurb. Just a reminder, php is server side and does not deal with client side functions. You are possbily looking for html or javascript.

Posted: Thu Feb 12, 2004 3:27 am
by twigletmac
This definitely sounds like HTML - what element are you trying to get a tooltip for?

Mac

P.S. Thread moved to client-side forum.

Posted: Thu Feb 12, 2004 2:17 pm
by Unipus
Most likely you want to use the TITLE attribute. Possibly you want to use the ALT attribute for image tags, which is improperly implemented in IE to behave as a TITLE attribute. Even though it's wrong, it's the de facto standard.