public/javascripts/jquery.tipTip.js
Function tipTip
has 152 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.tipTip = function(options) {
var defaults = {
activation: "hover",
keepAlive: false,
maxWidth: "200px",
Function active_tiptip
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function active_tiptip(){
opts.enter.call(this);
tiptip_content.html(org_title);
tiptip_holder.hide().removeAttr("class").css("margin","0");
tiptip_arrow.removeAttr("style");
Consider simplifying this complex logical expression. Open
Open
if((right_compare && w_compare < 0) || (t_class == "_right" && !left_compare) || (t_class == "_left" && left < (tip_w + opts.edgeOffset + 5))){
t_class = "_right";
arrow_top = Math.round(tip_h - 13) / 2;
arrow_left = -12;
marg_left = Math.round(left + org_width + opts.edgeOffset);