views:

45

answers:

1

Didn't want to create a new question so I'll just refrase this one, is there a way to disable the Tiny Scrolling plugin for just one particular div?

Thanks :)

+1  A: 

Did you try setting the "centerOnScroll" variable to true (ref)?

$('#selector').fancybox({
 centerOnScroll : true
})
fudgey
thanks for the answer! i don't think this is what i'm looking for, i can't test the script since i'm not at home but the reason is that i'm guessing this will center the fancybox, which wont stop the tinyscrolling plugin from scrolling to the box.
Noor
Setting that variable makes fancybox center the viewbox when you scroll the page in any direction. If that isn't what you want, then maybe I have misunderstood what you need.
fudgey
refrased the question! :) thanks though
Noor