how can i add tool tip in my php code

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
no1shah
Forum Newbie
Posts: 16
Joined: Tue Feb 10, 2004 2:20 am
Contact:

how can i add tool tip in my php code

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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.
Unipus
Forum Contributor
Posts: 409
Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA

Post 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.
Post Reply