Treeview custom tooptips fails to display in proper position...

Discussion in 'ASP .Net Web Controls' started by Shridhar, Feb 4, 2005.

  1. Shridhar

    Shridhar Guest

    When I use the treeview custom tooltip in webpart after setting height
    and width I am not getting it in proper position.

    if((WebpartHeight != "")||(Webpartwidth != ""))
    {
    tipX = window.event.clientX ;
    tipY = window.event.clientY + 141;
    }
    else
    {
    tipX = window.event.x + 10 +document.body.scrollLeft ;
    tipY = window.event.y +document.body.scrollTop +10;
    }

    How do I set constant the tip at proper place?
     
    Shridhar, Feb 4, 2005
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.