PageSourceSearch

https://www.ppfmembers.org.uk/civica/Resources/scripts/common/Services/Presentation/Tooltip.Service.js

js ppfmembers.org.uk collected 2026-10-07 01:47:28 UTC 1,605 bytes, 49 lines download raw bytes

1/*global Civica:false */
2/*jshint white: false */
3/*jshint maxlen: 400 */
4/*jshint onevar: false */
5/*jshint nomen: false */
6with (Civica.Globals) {
7    (function (undefined) {
8        /**
9        * Represents a service that can be used to show a tool tip
10        * @class Presentation.Tooptip
11        * @module Services
12        */
13        Civica.Factory.RegisterService('Presentation.Tooltip',
14            {
15                /**
16                * Show the tool tip
17                * @method RedirectPage
18                * @param {string} element The element to show the tool tip for
19                * @param {html} content The content of the tooltip
20                */
21                Show: function (element, content) {
22                    $(element).qtip({
23                        style: {
24                            tip: false,
25                            classes: 'qtip-rounded'
26                        },
27                        content: content,
28                        prerender: true,
29                        show: {
30                            solo: true
31                        },
32                        hide: {
33                            event: 'mousemove',
34                            fixed: true,
35                            delay: 2000
36                        },
37
38                        events: {
39                            hide: function (event, api) {
40                                $(this).qtip('destroy');
41                            }
42                        }
43                    });
44
45                    $(element).qtip("show");
46                }
47            });
48    })();
49};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.