|
-
Jul 3rd, 2003, 12:46 PM
#1
Thread Starter
Addicted Member
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> , when the user moveover a link on the left the tip will be displayed on the right column . 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 .
-
Jul 3rd, 2003, 01:58 PM
#2
Why don't you just set the title attribute of the <A> tag?
Code:
<a href="mypage.html" title="another page another dead end">link</a>
-
Jul 4th, 2003, 02:54 PM
#3
It can't be solved in PHP or any other server side language for that matter. You could use a client side language to do this, such as JavaScript. But a better idea would be to do what DeadEyes said.
If you still want to do it the way you described, then the best method would be to create a one-celled table, with the description of the link in it, and set it's visibility to hidden. Then, on a mouseover, set it's absolute position to the desired place on the page, and set it's visibility to visible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|