Thanks Karl - that did the trick. I made some changes mostly to suit my needs (for example, don't need the arrows so I took them out and adjusted the size accordingly).
At any rate, this is a very nice plugin. Anyone know of any possibility of including setting parameters instead of using query strings? I might take that on as an exercise (it doesn't look as if it'd be too hard). Karl Swedberg-2 wrote: > > Hi James, > > I ran into these problems with Cody Lindley's jTip plugin, too, so I > (and Rey Bango) made a few changes to it. > > It's not terribly pretty, but that can be remedied with CSS / images. > Also, if I had time to work on it some more, I would clean up the > code a bit. > > So, with those caveats out of the way, here are a couple links: > > Blog Entry: http://www.learningjquery.com/2006/10/updated-plugin-jtip > Demo: http://test.learningjquery.com/jtiptest.htm > > > > --Karl > _________________ > Karl Swedberg > www.englishrules.com > www.learningjquery.com > > > > On Jan 30, 2007, at 2:46 PM, James Thomas wrote: > >> >> Unfortunately, the same thing happens with this one. >> >> I modified it to support loading by ajax as follows: >> 1. Added a setting for showAjax >> 2. Using the same tip attribute I added to the item, I added the >> following >> code in save() >> if (settings.showAjax) { >> var jUrl = source.attr('tip'); >> >> tBody.empty(); >> tBody.load(jUrl); >> tTitle.html(title); >> >> if (tBody.html()) >> tBody.show(); >> else >> tBody.hide(); >> } else >> >> I added this code right above the if(settings.showBody) >> >> Then in my tooltip declaration, I do: >> >> $('img.help').Tooltip( >> { >> delay: 250, >> track: true, >> showAjax: true, >> showURL: false >> } >> ); >> >> When I hover over the image, it goes off and up. Any idea why? >> >> >> Sam Collett wrote: >>> >>> On 30/01/07, James Thomas <[EMAIL PROTECTED]> wrote: >>>> >>>> Hello all, >>>> >>>> I am looking for a good tooltip library. I like the look and feel >>>> of the >>>> Interface one but there's a big problem with it - when I hover over >>>> something on say the right edge of the screen where I want the >>>> tooltip to >>>> appear, most of it goes off the edge of the screen. The same is >>>> true if >>>> it's >>>> on the left of the screen and the position is set to left. >>>> >>>> Any thoughts on how it can be fixed? >>>> >>>> Also, I made a small modification to the tooltip that enabled it >>>> to load >>>> external ajax content - my solution here was to add my own >>>> attribute to >>>> whatever fields I want to display a tooltip called tip and then >>>> just do >>>> (inside the show() method): >>>> >>>> url = jEl.attr('tip'); >>>> >>>> if (url) $('#tooltipURL').load(url); right before the href part >>>> within >>>> the >>>> if (title) codeblock. I put it here because I want all of my >>>> tooltips to >>>> have a title associated with them. Thoughts on any better way to >>>> do this? >>>> -- >>> >>> Have you tried this one: >>> http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ >>> >>> _______________________________________________ >>> jQuery mailing list >>> discuss@jquery.com >>> http://jquery.com/discuss/ >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Interface- >> Tooltip-problem-tf3139669.html#a8716457 >> Sent from the JQuery mailing list archive at Nabble.com. >> >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Interface-Tooltip-problem-tf3139669.html#a8719338 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/