Rev 3553 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3553 | Rev 3556 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | config. BorderStyle = 'solid' // Any permitted CSS value, but I recommend 'solid', 'dotted' or 'dashed' |
62 | config. BorderStyle = 'solid' // Any permitted CSS value, but I recommend 'solid', 'dotted' or 'dashed' |
63 | config. BorderWidth = 1 |
63 | config. BorderWidth = 1 |
64 | config. CenterMouse = false // false or true - center the tip horizontally below (or above) the mousepointer |
64 | config. CenterMouse = false // false or true - center the tip horizontally below (or above) the mousepointer |
65 | config. ClickClose = false // false or true - close tooltip if the user clicks somewhere |
65 | config. ClickClose = false // false or true - close tooltip if the user clicks somewhere |
66 | config. ClickSticky = false // false or true - make tooltip sticky if user left-clicks on the hovered element while the tooltip is active |
66 | config. ClickSticky = false // false or true - make tooltip sticky if user left-clicks on the hovered element while the tooltip is active |
67 | config. CloseBtn = |
67 | config. CloseBtn = true // false or true - closebutton in titlebar |
68 | config. CloseBtnColors = ['#990000', '#FFFFFF', '#DD3333', '#FFFFFF'] // [Background, text, hovered background, hovered text] - use empty strings '' to inherit title colours |
68 | config. CloseBtnColors = ['#990000', '#FFFFFF', '#DD3333', '#FFFFFF'] // [Background, text, hovered background, hovered text] - use empty strings '' to inherit title colours |
69 | config. CloseBtnText = ' X ' // Close button text (may also be an image tag) |
69 | config. CloseBtnText = ' X ' // Close button text (may also be an image tag) |
70 | config. CopyContent = true // When converting a HTML element to a tooltip, copy only the element's content, rather than converting the element by its own |
70 | config. CopyContent = true // When converting a HTML element to a tooltip, copy only the element's content, rather than converting the element by its own |
71 | config. Delay = 400 // Time span in ms until tooltip shows up |
71 | config. Delay = 400 // Time span in ms until tooltip shows up |
72 | config. Duration = 0 // Time span in ms after which the tooltip disappears; 0 for infinite duration, < 0 for delay in ms _after_ the onmouseout until the tooltip disappears |
72 | config. Duration = 0 // Time span in ms after which the tooltip disappears; 0 for infinite duration, < 0 for delay in ms _after_ the onmouseout until the tooltip disappears |
Line 89... | Line 89... | ||
89 | config. Opacity = 100 // Integer between 0 and 100 - opacity of tooltip in percent |
89 | config. Opacity = 100 // Integer between 0 and 100 - opacity of tooltip in percent |
90 | config. Padding = 20 // Spacing between border and content |
90 | config. Padding = 20 // Spacing between border and content |
91 | config. Shadow = false // false or true |
91 | config. Shadow = false // false or true |
92 | config. ShadowColor = '#C0C0C0' |
92 | config. ShadowColor = '#C0C0C0' |
93 | config. ShadowWidth = 5 |
93 | config. ShadowWidth = 5 |
94 | config. Sticky = |
94 | config. Sticky = true // false or true - fixate tip, ie. don't follow the mouse and don't hide on mouseout |
95 | config. TextAlign = 'left' // 'left', 'right' or 'justify' |
95 | config. TextAlign = 'left' // 'left', 'right' or 'justify' |
96 | config. Title = '' // Default title text applied to all tips (no default title: empty string '') |
96 | config. Title = '' // Default title text applied to all tips (no default title: empty string '') |
97 | config. TitleAlign = 'center' // 'left' or 'right' - text alignment inside the title bar |
97 | config. TitleAlign = 'center' // 'left' or 'right' - text alignment inside the title bar |
98 | config. TitleBgColor = '' // If empty string '', BorderColor will be used |
98 | config. TitleBgColor = '' // If empty string '', BorderColor will be used |
99 | config. TitleFontColor = '#FFFFFF' // Color of title text - if '', BgColor (of tooltip body) will be used |
99 | config. TitleFontColor = '#FFFFFF' // Color of title text - if '', BgColor (of tooltip body) will be used |