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 Swedberg
www.englishrules.com
www.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();
});

Reply via email to