Skip to content

Instantly share code, notes, and snippets.

@csessig86
Created February 6, 2012 21:49
Show Gist options
  • Save csessig86/1755142 to your computer and use it in GitHub Desktop.
Save csessig86/1755142 to your computer and use it in GitHub Desktop.
FusionTips (For blog)
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