Thankyou very much Karl works perfect, (sorry copy and paste type two
hrefs)
On Apr 23, 1:34 pm, Karl Swedberg wrote:
> Hi Josh,
>
> Probably came up empty because you have two hrefs in that link -- one
> with an empty hash and the other with no hash at all.
>
> > Show
>
> Let's say you wanted
Hi Josh,
Probably came up empty because you have two hrefs in that link -- one
with an empty hash and the other with no hash at all.
Show
Let's say you wanted to grab the content for just a div with
id="frag". Your link would look like this:
Show
--Karl
Karl Sw
Thankyou Karl and Geert,
I tried
$(document).ready(function() {
$('a#nav').cluetip({ ajaxProcess: function(data) {
$div = $('' + data + '').find(this.hash);
return $div;
}
});
});
html
Show
Corresponding temp.html had a couple of divs in it, one with an id of
tempone
The Tip came up, but it
Thanks for that suggestion, Geert!
Josh, Geert's solution will work, but if you use the latest version
of clueTip from Github ( https://github.com/kswedberg/jquery-cluetip/tree/master
), it's a lot simpler.
To target the id in the called page that matches the hash of the
link's href, you
this should do
$(document).ready(function() {
$('a').each(function() {
var thisHash = this.hash;
$(this).cluetip({
sticky: true,
mouseOutClose: true,
closePosition: 'title',
closeText: '',
ajaxCache: false,
activation:
5 matches
Mail list logo