diff options
author | sgiehl <stefan@piwik.org> | 2013-03-30 19:35:55 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2013-03-30 19:35:55 +0400 |
commit | 6defcdabab75eb5365b77f375d0e07d45f513911 (patch) | |
tree | ea69ec2845cb778c8891c367f71aa02a2f733214 /plugins | |
parent | 7fd5e006a9b0803c832523af1acfa403c8f44896 (diff) |
refs #3813 disabled animations for tooltips
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreHome/templates/datatable.js | 10 | ||||
-rw-r--r-- | plugins/CoreHome/templates/jqplot.js | 12 | ||||
-rw-r--r-- | plugins/Goals/templates/single_goal.tpl | 4 | ||||
-rw-r--r-- | plugins/Overlay/templates/index.js | 4 | ||||
-rw-r--r-- | plugins/Transitions/templates/transitions.js | 16 |
5 files changed, 35 insertions, 11 deletions
diff --git a/plugins/CoreHome/templates/datatable.js b/plugins/CoreHome/templates/datatable.js index df5c1c2e32..2a8f437d65 100644 --- a/plugins/CoreHome/templates/datatable.js +++ b/plugins/CoreHome/templates/datatable.js @@ -1119,7 +1119,11 @@ dataTable.prototype = } // use tooltip (tooltip text determined by the 'title' attribute) - tooltipElem.tooltip({track: true}); + tooltipElem.tooltip({ + track: true, + show: false, + hide: false + }); }, //Apply some miscelleaneous style to the DataTable @@ -1495,7 +1499,9 @@ dataTable.prototype = track: true, items: 'a', content: '<h3>'+action.dataTableIconTooltip[0]+'</h3>'+action.dataTableIconTooltip[1], - tooltipClass: 'rowActionTooltip' + tooltipClass: 'rowActionTooltip', + show: false, + hide: false }); } } diff --git a/plugins/CoreHome/templates/jqplot.js b/plugins/CoreHome/templates/jqplot.js index d638e76fce..9b5815095f 100644 --- a/plugins/CoreHome/templates/jqplot.js +++ b/plugins/CoreHome/templates/jqplot.js @@ -173,7 +173,9 @@ JQPlot.prototype = { $(this).tooltip({ track: true, items: '*', - content: '<h3>' + label + '</h3>' + text + content: '<h3>' + label + '</h3>' + text, + show: false, + hide: false }).trigger('mouseover'); } else if (type == 'pie') { @@ -187,7 +189,9 @@ JQPlot.prototype = { $(this).tooltip({ track: true, items: '*', - content: '<h3>' + label + '</h3>' + text + content: '<h3>' + label + '</h3>' + text, + show: false, + hide: false }).trigger('mouseover'); } }) @@ -379,7 +383,9 @@ JQPlot.prototype = { $(this).tooltip({ track: true, items: 'div', - content: '<h3>'+label+'</h3>'+text.join('<br />') + content: '<h3>'+label+'</h3>'+text.join('<br />'), + show: false, + hide: false }).trigger('mouseover'); if (typeof self.params.axes.xaxis.onclick != 'undefined' && typeof self.params.axes.xaxis.onclick[lastTick] == 'string') { diff --git a/plugins/Goals/templates/single_goal.tpl b/plugins/Goals/templates/single_goal.tpl index 1b4a114eef..c75ac1f570 100644 --- a/plugins/Goals/templates/single_goal.tpl +++ b/plugins/Goals/templates/single_goal.tpl @@ -32,7 +32,9 @@ track: true, content: function () { return $(this).attr("title"); - } + }, + show: false, + hide: false }); }); </script> diff --git a/plugins/Overlay/templates/index.js b/plugins/Overlay/templates/index.js index c18522094f..cc81659a43 100644 --- a/plugins/Overlay/templates/index.js +++ b/plugins/Overlay/templates/index.js @@ -61,7 +61,9 @@ var Piwik_Overlay = (function () { items: '*', tooltipClass: 'Overlay_Tooltip', content: '<b>' + Piwik_Overlay_Translations.domain + ':</b> ' + - piwikHelper.addBreakpointsToUrl(iframeDomain) + piwikHelper.addBreakpointsToUrl(iframeDomain), + show: false, + hide: false }); } diff --git a/plugins/Transitions/templates/transitions.js b/plugins/Transitions/templates/transitions.js index cba292920a..b758612032 100644 --- a/plugins/Transitions/templates/transitions.js +++ b/plugins/Transitions/templates/transitions.js @@ -245,7 +245,9 @@ Piwik_Transitions.prototype.preparePopover = function () { return false; }, items: '*', - tooltipClass: 'Transitions_Tooltip_Small' + tooltipClass: 'Transitions_Tooltip_Small', + show: false, + hide: false }); }; @@ -390,7 +392,9 @@ Piwik_Transitions.prototype.addTooltipShowingPercentageOfAllPageviews = function track: true, content: tip, items: '*', - tooltipClass: 'Transitions_Tooltip_Small' + tooltipClass: 'Transitions_Tooltip_Small', + show: false, + hide: false }); }; @@ -984,7 +988,9 @@ Piwik_Transitions_Canvas.prototype.renderBox = function (params) { track: true, content: tip, items: '*', - tooltipClass: 'Transitions_Tooltip_Small' + tooltipClass: 'Transitions_Tooltip_Small', + show: false, + hide: false }); } if (typeof params.onMouseOver == 'function') { @@ -1013,7 +1019,9 @@ Piwik_Transitions_Canvas.prototype.renderBox = function (params) { track: true, content: params.curveTextTooltip, items: '*', - tooltipClass: 'Transitions_Tooltip_Small' + tooltipClass: 'Transitions_Tooltip_Small', + show: false, + hide: false }); } } |