Friday, March 27, 2009

[jQuery] Re: cluetip retrieving parts of ajaxfile and noncaching in IE7

Hi Geert,

I replied to you offlist, too, but here it is again:

Passing in cache: false for jQuery's $.ajax() function, as well:

$(document).ready(function() {
  $('a').each(function() {
    var thisHash = this.hash;
    $(this).cluetip({
      ajaxCache: false,
      ajaxSettings: {
        cache: false
      },
      ajaxProcess: function(data) {
        var $div = $('<div></div>').append(data).find(thisHash);
       return $div;
      }
    });
  });  
});


Could you try that and see if it works?

thanks!

--Karl

____________
Karl Swedberg




On Mar 27, 2009, at 9:21 AM, Geert Baven wrote:

Hi there to you all,
I try to make the tooltip retrieve an ID from an ajaxfile with this:
  
$(document).ready(function() {
  $('a').each(function() {
    var thisHash = this.hash;
    $(this).cluetip({ 
      ajaxProcess: function(data) {
        var $div = $('<div></div>').append(data).find(thisHash);
      return $div;
 
      }
    });
  });  
});

 ajaxCache  set to false does not work in IE7

how to solve this? an example of this you can find here  http://strikingconcepts.nl/development/cluetip/demo/

help appreciated!





No comments:

Post a Comment