1. #1
    Ext User
    Join Date
    Oct 2008
    Posts
    127
    Vote Rating
    0
    wp.joju is on a distinguished road

      0  

    Default extjs tooltip to prevent default tooltip

    extjs tooltip to prevent default tooltip


    hi there, i'm using this function which i got from this site to show tooltips on all elements with a title attribute (basically the default html element tooltip doesn't show up in formatted html that is why i am trying to show the title using ExtJS' tooltip). the problem is i cannot prevent the default tooltip from showing up, is there any way to prevent that?

    Code:
    if (!container)
            container = Ext.getBody();
        container.tip = new Ext.ToolTip({
            target: container,
            delegate: '[title!=""]',
            trackMouse: true,
            header: true,
            renderTo: document.body,
            constrainPosition:true,
            listeners: {
                beforeshow: function updateTipBody(tip) {
                    tip.body.update(Ext.fly(tip.triggerElement).dom.title);
                },
                show: {fn:adjustTooltipPosition,delay:1}
            }
        });

  2. #2

  3. #3
    Ext User
    Join Date
    Oct 2008
    Posts
    127
    Vote Rating
    0
    wp.joju is on a distinguished road

      0  

    Default


    thanks for that information, the problem is that the tooltip appears but also disappears immediately even if my mouse is still over the trigger element

Similar Threads

  1. Can I move the ToolTip tip anchor graphic to midway down the tooltip?
    By jscolton in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 Mar 2011, 6:36 PM
  2. [FNR] [2.1.1 / 2.1.3] Tooltip bug and tooltip shadow issue in IE8
    By jonjanisch in forum Ext GWT: Bugs (2.x)
    Replies: 2
    Last Post: 21 Apr 2010, 8:15 AM
  3. Ext.form.Combobox value tooltip & list tooltip
    By valor in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 1 Dec 2009, 3:37 AM
  4. How to make ext.tooltip looks like a Yahoo style balloon tooltip
    By pchang9806 in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 31 May 2009, 11:15 PM
  5. Replies: 0
    Last Post: 11 Dec 2008, 6:04 AM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar