Results 1 to 3 of 3

Thread: tooltip for link

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Location
    Viet Nam
    Posts
    142

    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 .

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    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.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Lively Member
    Join Date
    Sep 2002
    Location
    Newfoundland
    Posts
    71
    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.
    - Adam Lundrigan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width