لینک کوتاه اشتراک گذاری
$(document).ready(function () {
$(document).scroll(function () {
var scroll = $(document).scrollTop();
if (scroll > 200) {
$(".nav").addClass("Fix");
} else if (scroll < 10) {
$(".nav").removeClass("Fix");
}
});
});