I just replied to your direct email to me, but in case you see this
first, you should be able to do something like this:
$('someselector').cluetip({
cluetipClass: 'jtip',
arrows: true,
dropShadow: false,
hoverIntent: false,
sticky: true,
closePosition: 'title',
closeText: 'Close',
activation: 'click'
ajaxSettings: { type: 'GET'}
});
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 21, 2009, at 4:58 PM, Adam wrote:
Karl,
Is there anyway to use cluetip with GET requests? My serlvet requires
a query string parameter, so POST won't really work in my scenario.
thanks,
Adam
On Jan 21, 11:07 am, Karl Swedberg <k...@englishrules.com> wrote:
Hi Adam,
When I try to setup my cluetip using the apparent settings to
achieve this, the cluetip closes if the mouse pointer enters and
then
leaves the area of the cluetip
Remove the mouseOutClose: true option. It is set to false by default,
and that is what you'll need.
--Karl
____________
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Jan 21, 2009, at 10:19 AM, Adam wrote:
Another problem I am having (or bug?): Is it possible to have the
cluetip open from a mouse click, and close using a close image (or
text)? When I try to setup my cluetip using the apparent settings
to
achieve this, the cluetip closes if the mouse pointer enters and
then
leaves the area of the cluetip. However, it opens correctly (on a
user's mouse click). Here are my settings:
cluetipClass: 'jtip',
arrows: true,
dropShadow: false,
hoverIntent: false,
sticky: true,
mouseOutClose: true,
closePosition: 'title',
closeText: 'Close',
activation: 'click'
Thanks,
Adam
On Jan 16, 5:09 pm, Karl Swedberg <k...@englishrules.com> wrote:
I can't diagnose the problem without a test page to view, but I
would
suggest that you use Firebug and see what the POST is returning. It
could be a 404 or a 405 or some other error.
--Karl
____________
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Jan 16, 2009, at 2:55 PM, Adam wrote:
I have setup the cluetip plugin on my website. I was able to
get it
working when using local content, similar to the example code of $
('a.title').cluetip({splitTitle: '|'});
However, I can't get it to load an external website. The tool tip
comes up, but it says "sorry the contents cannot be loaded". The
external site is a servlet rendered page that loads fine if I type
the
URL into a browser window. The only differences between my code
and
the example is that I'm using an image for the link and am using
livequery.
<a title="Help" rel="/portlets/help.do" href="/portlets/help.do"
class="help" style="">
<img class="icon" src="/theme/images/portlet/help.png"
alt="Help"/>
</a>
jQuery("a.help").livequery(function() {
jQuery(this).cluetip();
});