Yes, you can.

First, you specify the attribute that contains the ajax page OR the name 
of the local element to show.

If you are doing local a local element, you then set the "local" 
property to true, and adjust any other properties as needed.  Using a 
local element is mutually exclusive of any of the Ajax items...

i.e.

<h4 id="myheading">My Heading</h4>
<div id="clueDiv" style="display: none;">Here's my extra detail</div>

//javascript
$("#myheading").attr("rel", "#cluediv").cluetip({
   local : true,
   hoverClass : "highlight"
});

That *should* show the clueDiv as your popup/cluetip without any Ajax calls.

Options can be found at http://plugins.learningjquery.com/cluetip/#options.

Samples can be found at http://plugins.learningjquery.com/cluetip/demo/

I'm sure others may have responded by now (no mail from the list for a 
while, but that's usual for me for some reason, then I'll get a flood). 
  And they probably have more definitive recommendations (i.e. Karl 
monitors the list and he is the Cluetip author...)  But, if not, I hope 
this helps.

Shawn

Feijó wrote:
> With *non-link element*, why can't I use without ajax?
>  
> I try that:
>  
>  $('h4').cluetip();
> <h4 title="Fancy Title!|testing">Hover over me.</h4>
>  
>  
> Didnt work, only like this works:
>  
>  
>  $('h4').cluetip({attribute: 'id', hoverClass: 'highlight'});
> <h4 title="Fancy Title!" id="ajax3.htm">Hover over me.</h4>
>  
>  
>  
> Can't I just set a tip without ajax? With <a> the first one runs.
>  
>  
> thanks
> 
> Feijó
>  
>  

Reply via email to