Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery tooltip not working in IE
    primarykey
    data
    text
    <p>I am using the jquery tooltip and here is the code for it</p> <p><strong>Javascript</strong>:</p> <pre><code>this.tooltip = function() { var xOffset = -10; var yOffset = -175; $("a.tooltip").hover(function(e) { this.t = this.title; this.title = ""; var breakdownData = ""; var header = "&lt;b&gt;This document contains:&lt;/b&gt;&lt;br /&gt;"; switch(this.id) { case '_ctl0_MasterContentPlaceHolder_hpl_DownloadCCPS1': breakdownData = "&lt;div style='padding-left:30px;'&gt;&lt;br /&gt;&lt;/div&gt;"; break; case '_ctl0_MasterContentPlaceHolder_hpl_DownloadCCPS2': breakdownData = "&lt;div style='padding-left:30px;'&gt;&lt;/div&gt;"; break; case '_ctl0_MasterContentPlaceHolder_hpl_DownloadCCPS3': breakdownData = "&lt;div style='padding-left:30px;'&gt;&lt;/div&gt;"; break; case '_ctl0_MasterContentPlaceHolder_hpl_DownloadCCPS4': breakdownData = "&lt;div style='padding-left:30px;'&gt;&lt;/div&gt;"; break; } $("body").append("&lt;div id='tooltip' style='width:350px; padding-left:15px; font-size:11px;'&gt;"+ header + breakdownData +"&lt;/div&gt;"); $("#tooltip").css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px") .fadeIn("fast"); }, function() { this.title = this.t; $("#tooltip").remove(); }); $("a.tooltip").mousemove(function(e) { $("#tooltip").css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px"); }); }; } $(document).ready(setTimeout("tooltip()", 500)); </code></pre> <p><strong>CSS</strong>:</p> <pre><code> #tooltip { position:absolute; border:1px solid #333; background:#f7f5d1; padding:2px 5px; color:#333; display:none; width:350px; } </code></pre> <p>All I need to do is add the tooltip class to the anchor tag which works fine in Firefox but not in IE. Has anyone else experienced this?</p> <p>Here is a link to the original which seems to work just fine <a href="http://cssglobe.com/lab/tooltip/01/" rel="nofollow noreferrer">http://cssglobe.com/lab/tooltip/01/</a></p> <p>Thank You</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload