I'm not absolutely sure, but I think that jQuery appends a timestamp
to the query string when you have ajaxCache set to false. This ensures
that you're requesting a "different" resource each time. On a hunch, I
typed new Date(1242727097678) into Firebug, and it returned Tue May 19
2009 05:58:17 GMT-0400 (EDT). Try it without ajaxCache set to false
and see what happens.
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 19, 2009, at 6:03 AM, winston.nolan wrote:
helo,
i am using the wonderful cluetip plugin.
my intention is to load a page via ajax into the tip. i have set it up
with the following settings:
jQuery(document).ready(function() {
jQuery('.sticky').cluetip({
// effect and speed for opening clueTips
fx: {
open: 'fadeIn', // can be 'show' or 'slideDown' or
'fadeIn'
openSpeed: '1000'
},
attribute: 'rel',
//local: false,
ajaxCache: false,
// process data retrieved via xhr before it's displayed
//ajaxProcess: function(data) {
// data = $(data).not('style, meta, link,
script, title');
// return data;
//},
// can pass in standard $.ajax() parameters, not including error,
complete, success, and url
ajaxSettings: {
dataType: 'html',
type: 'GET'
},
//hideLocal: true,
//clickThrough: false,
//dropShadow: true,
cluetipClass: 'rounded',
positionBy: 'mouse',
activation: 'hover',
topOffset: 385,
leftOffset: 55,
sticky: true,
arrows: true,
showTitle: true
});
});
However, the problem is that a random section of code is added to my
url...and i cant fiqure out why or where to remove it, here is the
code: GET /themes/site/adventures?_=1242727097678
all i want is the url /themes/site/adventures just that:
here is how i load it in my page:
<div class="viewmoredetails">
<a class="sticky"
href="/themes/site/adventures" rel="/
themes/site/adventures" title="<?php echo $this-
>htmlEscape($_category-
getName()) ?>"/><img src="<?php echo($this->getSkinUrl('images/
pix_trans.gif')) ?>" width="85px" height="14px"/></a>
</div>
can you please help me to fix this as i really do need it in my site
and i have been working on this for a few days but have not been
successful in fixing it.
thank you
win