-
tooltip for link
I am trying to make a kind of tips for each link i have in the table . I mean that i have a table with 2 cols , one for displaying lists of links while the other is for displaying the tip of that link ( in multi lines - i use <textarea> not <input type=text>) i want when the user move the mouse over a link on the left , the tip of that link will be displayed on the right . The problem is that i can't make it with javascript , so i think it will be solved in PHP .
Anyone ever done this before ? Please show me how you have made it .
-
1) Why can't you do it in JavaScript?
2) That would be impossible for PHP. PHP is a server-side language. Your task would require a client-side language. It's simply, straight to the point, no workarounds, impossible.
-
You need a client-side language to do that. To do it in PHP would require requesting a new page from the server for each tooltip, which kind of defeats the purpose of a mouseover tooltip
www.dynamicdrive.com
www.javascriptsource.com
www.pscode.com
Search those sites, you should be able to find what you're looking for there, or at least something to get you on the right track anyway.