File: merging-tooltips.php

package info (click to toggle)
node-nouislider 15.8.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,936 kB
  • sloc: javascript: 5,234; php: 474; sh: 32; python: 28; makefile: 11
file content (29 lines) | stat: -rw-r--r-- 980 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php sect('merging-tooltips'); ?>
<h1>Merging overlapping tooltips</h1>

<section>

    <div class="view">
        <p><a href="https://github.com/leongersen/noUiSlider/issues/1032">Issue #1032</a> asks to merge overlapping tooltips. As this feature is outside the scope of the tooltips-feature in noUiSlider, this example can be used to implement this feature using the event system.</p>

        <div class="example">
            <div id="merging-tooltips"></div>
            <?php run('merging-tooltips'); ?>
            <?php run('merging-tooltips-slider'); ?>
        </div>
    </div>

    <div class="side">
        <div class="viewer-header">Initializing the slider</div>

        <div class="viewer-content">
            <?php code('merging-tooltips-slider'); ?>
        </div>

        <div class="viewer-header">Merging overlapping tooltips</div>

        <div class="viewer-content">
            <?php code('merging-tooltips'); ?>
        </div>
    </div>
</section>