I have found the answer:
I have loaded "jquery.tooltip.min.js" as "js/jquery.tooltip.min.js", but it
should be called "js/jquery.tooltip.js"

I am shure that there is a description on the jquery-website, but I did not
find it.
It would be nice to have small example for using "jquery ui" and similar
plugins in the web2py manual, e.g. at the end of chapter 10.2.

------------------------------------------------------------------------------------------------
A short example for jQuery Tooltips

Download the actual version from
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/, unpack it and
copy the following files to the "Static files", using the upload file
button:

   - jquery-tooltip/jquery.tooltip.css  -> css/jquery.tooltip.css
   - jquery-tooltip/jquery.tooltip.pack.js  -> js/jquery.tooltip.js

*Don't forget to rename it to "jquery.tooltip.js"!*

Add the following lines in web2py_ajax.html

   - response.files.insert(3,URL('static','css/jquery.tooltip.css'))
   - response.files.insert(4,URL('static','js/jquery.tooltip.js'))

Use it in default/index.html:

<script>

    jQuery(function() {
       jQuery('#tip ').tooltip();
    });
</script>

<div id='tip' title='This is a tip'>Tip</div>

------------------------------------------------------------------------------------------------

Regards, Martin


2011/1/5 Brian M <bmere...@gmail.com>

> What does the FireBug extension for FireFox tell you?

Reply via email to