File: libjs-jquery-tipsy.README.Debian

package info (click to toggle)
jquery-goodies 11-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,188 kB
  • ctags: 521
  • sloc: xml: 308; makefile: 89; php: 48; sql: 39
file content (26 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (7)
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
libjs-jquery-mousewheel for Debian
----------------------------------

In order to make use of mousewheel in your html, include the following
lines in your html header:

    <script language="javascript" type="text/javascript"
    src="/javascript/jquery/jquery.js"></script>

    <script language="javascript" type="text/javascript"
    src="/javascript/jquery-tipsy/jquery.tipsy.js"></script>

    <link rel="stylesheet" href="/javascript/jquery-tipsy/stylesheets/tipsy.css"
    type="text/css" />


Initialise Tipsy in your document.onload, e.g.:

<script type='text/javascript'>
    $(function() {
        $('a[rel=tipsy]').tipsy({fade: true, gravity: 'n'});
    });
</script>


 -- Marcelo Jorge Vieira (metal) <metal@alucinados.com>  Sat, 19 Feb 2011 18:09:00 -0200