Results 1 to 3 of 3

Thread: balloontooltip stay on position on hover

  1. #1
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default balloontooltip stay on position on hover

    1) Script Title: Rich HTML Balloon Tooltip

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...oontooltip.htm
    3) Describe problem:
    Hi, i try to use this tooltip in my website:
    http://imaxxo.net/advanced/store.html

    i try to put a link to the tooltip. But everytime i hover to the tooltip it disappear how to fix this, thanks.
    _____________________

    David Demetrius // davejob
    _____________________

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    replace function initalizetooltip with the variable and the modified function below

    Code:
    var delayhide=null;
    
    function initalizetooltip(){
     var all_links=document.getElementsByTagName("a")
     if (enablearrowhead){
      tiparrow=document.createElement("img")
      tiparrow.setAttribute("src", arrowheadimg[0])
      tiparrow.setAttribute("id", "arrowhead")
      document.body.appendChild(tiparrow)
     }
     for (var tt,i=0; i<all_links.length; i++){
      if (reltoelement(all_links[i])){ //if link has "rel" defined and it's the ID of an element on page
       all_links[i].onmouseover=function(e){
         var evtobj=window.event? window.event : e
         clearTimeout(delayhide);
         displayballoontip(this, evtobj)
        }
       all_links[i].onmouseout=delayhidemenu
       tt=document.getElementById(all_links[i].getAttribute("rel"))
       tt.onmouseover=function(){  clearTimeout(delayhide); }
       tt.onmouseout=delayhidemenu
      }
     }
    }
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. The Following User Says Thank You to vwphillips For This Useful Post:

    davelf (12-07-2011)

  4. #3
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    Thanks Vic
    _____________________

    David Demetrius // davejob
    _____________________

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
  •