Hi,
I’ve managed to get the jquery Tooltip working in a SAEF using the SafeCracker extension, but I’ve done it manually (adding a link to the js code in the head). I’d much rather take advantage of the built in jquery module, but I’m not sure how to do that, or what is meant by “built-in.” I’m holding on with my fingernails with all this, so please bear with me.
Tooltip isn’t in the UI folder, so I get that it isn’t a “ui.” If I download it from jquery, it downloads as a jquery.tools.min.js. So it is a tool… is it part of the “tools” somewhere else in EE, and which one of the jquery tags would you use to call it, if there is one?
Here’s the script (that works, by manually adding a link to a jquery.tools.min.js file in the head):
[removed]
$("#myform :input").tooltip({
// place tooltip on the top edge
position: "center top",
// a little tweaking of the position
offset: [-2, 30],
// use the built-in fadeIn/fadeOut effect
effect: "fade",
// custom opacity setting
opacity: 0.9
});
[removed]If I put this is the head:
{exp:jquery:script_tag}
{exp:jquery:script_tag ui='core'}
{exp:jquery:output_javascript file='jquery.tools.min'}I get the error “The requested jQuery file could not be found.”
Where does the file go and/or am I calling it incorrectly? I know I’m calling it incorrectly, but I’ve read through the documentation (about a dozen times) and read through other posts on the forum and can’t figure it out.
ExpressionEngine 2.1.3 Build 20101220
————————-
Added 2/16: I’ve also had a similar experience adding the Masked Input (digitalbush) plugin for jQuery. Unfortunately, the two (Tooltip and Masked Plugin), don’t play nicely together. I assume it is me, with two versions of jQuery banging heads (or the functions being triggered by the same thing), but don’t know how to fix it, or where to start to acquire the knowledge to fix it. ANY advice would be most appreciated.