1. #1
    Ext JS Premium Member watrboy00's Avatar
    Join Date
    Aug 2007
    Location
    Minneapolis, MN
    Posts
    473
    Vote Rating
    0
    watrboy00 is on a distinguished road

      0  

    Exclamation Quick Tips - IE6 Showing Title Attribute after Quick Tip is displayed

    Quick Tips - IE6 Showing Title Attribute after Quick Tip is displayed


    Found an issue when using interceptTitles with Ext Quick Tips. The issue seems to be with line 17831 in ext-all-debug.js (I bolded the line in question).

    Code:
            if(tm.interceptTitles && t.title){
                ttp = t.title;
                t.qtip = ttp;
                t.removeAttribute("title");
                e.preventDefault();
            }else{
                ttp = t.qtip || et.getAttributeNS(ns, cfg.attribute);
            }
    IE6 does not like the title attribute removed for some reason and I guess it fails whenever it tries. If someone knows exactly why please let me know. Changing removeAttribute to setAttribute (shown below) solves the issue.

    Code:
            if(tm.interceptTitles && t.title){
                ttp = t.title;
                t.qtip = ttp;
                t.setAttribute("title", "");
                e.preventDefault();
            }else{
                ttp = t.qtip || et.getAttributeNS(ns, cfg.attribute);
            }
    Here is what I am using...

    a. Ext JS Library 1.1
    b. ext-base.js
    c. Windows XP Pro w/ SP2
    d. Internet Explorer v6.0.2900.2180.xpsp_sp2_gdr.070227-2254 (Does not happen in Firefox v2.0.07)

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>TEST</title>
    <link rel="stylesheet" type="text/css" href="ext-all.css" />
    <script type="text/javascript" src="ext-base.js"></script>
    <script type="text/javascript" src="ext-all-debug.js"></script>
    <script language="javascript" type="text/javascript">
    Ext.QuickTips.interceptTitles = true;
    Ext.QuickTips.init();
    </script>
    </head>
    <body>
    <a title="TEST"  href="#">TEST</a>
    </body>
    </html>
    f. No errors generated.

    g. See Attached Image

    h. I don't think a video of the issue is needed.
    Attached Images

  2. #2
    Ext JS Premium Member watrboy00's Avatar
    Join Date
    Aug 2007
    Location
    Minneapolis, MN
    Posts
    473
    Vote Rating
    0
    watrboy00 is on a distinguished road

      0  

    Default


    Another issue that seems to show up is if an element has an alt tag specified it will show up as well as a double popup. The only way I have found to fix this is not include the alt attribute in the element or setting the alt attribute like so:

    Code:
    alt=""
    I have tried setting the attribute to nothing like I was able too with the title and also removing it via removeAttribute but both were unsuccessful.

    Does anyone have an idea on how to do this?

    Thanks,

    Eric

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    2
    Vote Rating
    0
    Eldwa01 is on a distinguished road

      0  

    Default Resolution or bug?

    Resolution or bug?


    Hi. Did you ever get resolution to this - or an official bug tracking number?
    I'm seeing this is v3.2 for IE8. IE9 is even stranger..

Thread Participants: 1