[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread followerofjesus
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

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Karl Swedberg
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

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread followerofjesus
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

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Karl Swedberg
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

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Geert Baven
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: