While debuging my site, I found o开发者_高级运维ut that:
/* SOME my-web.com/index/#hash HERE... */
me.slides.eq(me.curID).fadeOut(me.options.fade.interval, me.options.fade.easing,
function(){
/* HERE HASH IS CLEARED: my-web.com/index/# */
});
anyone have any clues why that is? For sure I can store hash in variable before fadeOut and then put it back, but that's kind of 'dirty' hack :)
p/s/ jQuery is 1.5.1. p/p/s/ i'm talking about window.location.hash, that is: my-web.com/index/#hash
The value is likely out of scope from the callback function. Is the hash set with a var declaration? Where is it declared?
精彩评论