tags:

views:

34

answers:

2

Hi,

I found one jQuery plugin (tipsy) to display tooltip below http://onehackoranother.com/projects/jquery/tipsy/

In link above i could see that manually triggered tooltip is working as designed. I copied the page, and save it locally, as tipsy.htm (together with auto-generated tipsy_files). Again, is still working.

Once I copied tipsy.htm & tipsy_files to /public directory of my Rails app. All tipsy features are still working , but NOT for manually triggered tooltip.

Any idea?

Thanks.

+4  A: 

Don't do it like that. Saving a webpage locally could alter the page and the files its links to.

  1. Download the plugin.
  2. Create your own page.
  3. Include the jQuery library in your page.
  4. Then include the plugin js file.
  5. Include the CSS file for the plugin or write your own.
  6. Follow the instructions for usage and create your html and JS for the tooltips.
Moin Zaman
+1. Really good point
rahul
A: 

Check the JavaScript console of Firefox for errors. That should give you an idea why it fails.

Aaron Digulla