Results 1 to 5 of 5

Thread: onmouseover event see details

  1. #1
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default onmouseover event see details

    Please anyone can help about AJAX tooltip function..I working on project and I need to create onmouseover to shows details of events from database..please help..

    You have same mouseover done on this webpage.

    mak

  2. #2
    Join Date
    Aug 2004
    Posts
    9,911
    Thanks
    3
    Thanked 969 Times in 957 Posts
    Blog Entries
    15

    Default

    Are the pages you wish to display the tooltips dynamically generated? If so it's arguably better to just have the server dynamically add the relevant "title" (aka tooltip) attributes with its content retrieved from a database. That's in fact how the tooltips on the forum category pages operate. Using Ajax to make a request to the server whenever the user moves his mouse over a link is a waste of resources IMO, especially if you have lots of links on your pages.

  3. #3
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for an reply,,

    what "title" (aka tooltip) attributes means, when u mouseover event it will pullup event detail from database table and show in tooltip....

    right?

    Please help

  4. #4
    Join Date
    Aug 2004
    Posts
    9,911
    Thanks
    3
    Thanked 969 Times in 957 Posts
    Blog Entries
    15

    Default

    Well, the title attribute is merely a HTML attribute, something like:

    Code:
    <a href="http://google.com" title="Click here to visit Google">Google</a>
    It's static, though if your pages are dynamically generated, you can have the server dynamically output the contents of the title attribute, from say a database. That's how the tooltip here in the forums are created.

  5. #5
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you sir...my page are dynamically generate event from database.

    I need help to create "you can have the server dynamically output the contents of the title "attribute, from say a database. That's how the tooltip here in the forums are created."

    I need help ..sorry about my little knowledge of this..Please help me ..

    mak

Bookmarks

Posting Permissions

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