[jQuery] jQuery cluetip plugin
In my Rails 2.3.2 application, the plugin is working for me, but I am
unable to customize anything. Here is my setup:
1. In my application.html.erb file, I have the following:
<%= javascript_include_tag "jquery.js", "jquery-ui.js",
"jquery.hoverIntent.js", "jquery.cluetip.js", "jrails.js" %>
<%= stylesheet_link_tag 'web_app_theme', "themes/#{@current_theme}/
style", 'web_app_theme_ext',
'ui.theme.css', 'ui.core.css',
'ui.accordion.css','jquery.cluetip.css' %>
<script type="text/javascript">
$(document).ready(function() {
$("#accordion").accordion({ autoHeight: false, event:
'mouseover' });
$(".tip").cluetip();
});
</script>
This is in the head section. The accordion plugin works perfectly and
customizations are working too, but not in the cluetip plugin.
The javascript files are stored in public/javascripts per Rails
convention. Similarly, the stylesheet files are stored in the public/
stylesheets directories.
Even the changes that I am making to the default section of
jquery.cluetip.css file are not being picked up. My Rails application
is loading the CSS file fine since I can see it in the footnotes
display. Is there a way to debug this problem?
Thanks.
Bharat