What if you want to make a cluetip sticky only when clicked, otherwise just
show a normal cluetip?
 
example:  I want to show tips with content they can click (email addy, etc)
if they want... but by default the cluetip should just go away if the mouse
moves elsewhere (outside of the <a href>).  I don't want to use
mouseOutClose because the user shouldn't have to mouse in/out to remove the
tip from the page.
 
ideas?
 
Graeme

  _____  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Karl Swedberg
Sent: Wednesday, November 14, 2007 8:53 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: cluetip events


Hi amircx, 

You need to set the sticky option to true. I think that should do it for
you. 

Also, for other options where you're just using the default (such as
activation: hover), you don't need to define them in your options map.




--Karl

On Nov 14, 2007, at 6:21 AM, amircx wrote:




3 of that functions not working i think
here is my code
<code>
$(document).ready(function(){ 

$('#textfieldEIP').cluetip({
dropShadow: false,


cluezIndex: 97,
width: '90',
height: '30', // The height of the clueTip. more info
below [1]
positionBy: 'bottomTop', // Sets the type of positioning. more
info below [2]
local: true, // Whether to use content from the same
page (using ID) for the clueTip's body
hideLocal: true, // If local option is set to true, this
determines whether local content
showTitle: false, // show title bar of the clueTip, even if
title attribute not set
cluetipClass: 'jtip', // class added to outermost clueTip div in
the form of 'cluetip-' + clueTipClass. more info below [6]
waitImage: false, // whether to show a "loading" img, which
is set in jquery.cluetip.css
arrows: false, // if true, sets background-position of
cluetip div more info below [7]
sticky: false, // keep visible until manually closed
mouseOutClose: true, // close when clueTip is moused out
activation: 'hover', // set to 'click' to force user to click
to show clueTip
closePosition: 'title', // location of close text for sticky
cluetips; can be 'top' or 'bottom' or 'title'

});

</code>


<input type="text" id="textfieldEIP" href="#" rel="#textfieldToolbar"/>

tools.jpg 




what im trying to achive is following

to do that the tooltip will appear near textfield but the user will be able
to click on elements in the tooltip
so it will function like edit in place , user wants to edit textfield and
once he on the textfield he gets menu of options
that pops up


hope you got me right




amircx wrote:


hey
im trying to do a input's that once they are get mouseover it will open a
tooltip with options like edit and stuff (icons)
my question is in cluetip how can i hide/show a tip via javascript command
instad of the "close " button?
and also, is there a flag that i can check is the tooltip is currently
shown or not?





-- 
View this message in context:
http://www.nabble.com/cluetip-events-tf4785879s27240.html#a13744518
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Reply via email to