diff --git a/README.md b/README.md index 91cc6c9..d88f580 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ I mostly don't know what versions of various components are required. So far, I * [qTip2](http://qtip2.com/): 2.0.1 Browser support is: -* Internet Explorer 8+ (except the tooltips) +* Internet Explorer 8+ * Firefox 12+ * Chrome 18+ diff --git a/chronoline/chronoline.js b/chronoline/chronoline.js index 57c3afa..b92f8ae 100644 --- a/chronoline/chronoline.js +++ b/chronoline/chronoline.js @@ -1,4 +1,4 @@ -// chronoline.js v0.1.0 +// chronoline.js v0.1.1 // by Kevin Leung for Zanbato, https://zanbato.com // MIT license at https://github.com/StoicLoofah/chronoline.js/blob/master/LICENSE.md @@ -115,7 +115,7 @@ function forwardWeek(date){ } function Chronoline(domElement, events, options) { - this.VERSION = "0.1.0"; + this.VERSION = "0.1.1"; var defaults = { defaultStartDate: null, // the date furthest to the left on load. Defaults to today @@ -426,14 +426,17 @@ function Chronoline(domElement, events, options) { addElemClass(t.paperType, elem.node, 'chronoline-event'); elem.attr('title', myEvent.title); - if(t.tooltips && !jQuery.browser.msie){ + if(t.tooltips){ var description = myEvent.description; var title = myEvent.title; if(typeof description == "undefined" || description == ''){ description = title; title = ''; } - jQuery(elem.node).parent().qtip({ + var $node = jQuery(elem.node); + if(Raphael.type == 'SVG') + $node = $node.parent(); + $node.qtip({ content: { title: title, text: description diff --git a/index.html b/index.html index dfb7e55..eb6d65a 100644 --- a/index.html +++ b/index.html @@ -61,7 +61,7 @@

Support

Browser support is:

Credits