diff --git a/pylons_app/lib/helpers.py b/pylons_app/lib/helpers.py --- a/pylons_app/lib/helpers.py +++ b/pylons_app/lib/helpers.py @@ -149,7 +149,7 @@ class _ToolTip(object): var pos_y = YAHOO.util.Dom.getY(context); var display_strategy = 'top'; - var xy_pos= [0,0] + var xy_pos = [0,0]; switch (display_strategy){ case 'top': @@ -172,7 +172,12 @@ class _ToolTip(object): var cur_y = pos_y-((tt_h/2)-context_h/2); xy_pos = [cur_x,cur_y]; break; - + default: + var cur_x = (pos_x+context_w/2)-(tt_w/2); + var cur_y = pos_y-tt_h-4; + xy_pos = [cur_x,cur_y]; + break; + } this.cfg.setProperty("xy",xy_pos); diff --git a/pylons_app/public/css/monoblue_custom.css b/pylons_app/public/css/monoblue_custom.css --- a/pylons_app/public/css/monoblue_custom.css +++ b/pylons_app/public/css/monoblue_custom.css @@ -174,6 +174,7 @@ table tr.parity1 { border:2px solid #556CB5; font:100% sans-serif; width:auto; + opacity:1.0; } .yui-tt-shadow { diff --git a/pylons_app/public/js/graph.js b/pylons_app/public/js/graph.js --- a/pylons_app/public/js/graph.js +++ b/pylons_app/public/js/graph.js @@ -25,8 +25,8 @@ function BranchRenderer() { this.canvas = document.getElementById("graph_canvas"); - //if ($.browser.msie) - // this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); + if (navigator.userAgent.indexOf('MSIE') >= 0) + this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); this.ctx = this.canvas.getContext('2d'); this.ctx.strokeStyle = 'rgb(0, 0, 0)'; this.ctx.fillStyle = 'rgb(0, 0, 0)';