Created
February 6, 2012 21:49
-
-
Save csessig86/1755142 to your computer and use it in GitHub Desktop.
FusionTips (For blog)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FusionTipOverlay.prototype.onAdd = function() { | |
var div = document.createElement('DIV'); | |
div.style.border = "1px solid #999999"; | |
div.style.opacity = ".85"; | |
div.style.position = "absolute"; | |
div.style.whiteSpace = "nowrap"; | |
div.style.backgroundColor = "#ffffff"; | |
div.style.fontSize = '13px'; | |
div.style.padding = '10px'; | |
div.style.fontWeight = 'bold'; | |
div.style.margin = '10px'; | |
div.style.lineHeight = '1.3em'; | |
if (this.style_) { | |
for (var x in this.style_) { | |
if (this.style_.hasOwnProperty(x)) { | |
div.style[x] = this.style_[x] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment