Created
August 19, 2010 14:51
-
-
Save EvanBurchard/538063 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the view with the tooltip: | |
%h1 | |
.some_class{:title => "display this text"} | |
:javascript | |
$(function(){ | |
$(".some_class").tipTip(); | |
}); | |
In application layout file: | |
= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js" | |
= javascript_include_tag 'jquery.tipTip.minified' | |
(at bottom) | |
#tiptip_holder | |
#tiptip_content | |
#tiptip_arrow | |
#tiptip_arrow_inner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment