A function about .scroll is need to set

I have a function about fixed navigation

function fixednav()
{
// stuff here
}

I have used it with

$(window).scroll(function()
{
fixednav();
}

fixednav(); also used in document ready

The fixednav is need to set on document ready? or just in .scroll above? And what way need set both or one and one?

Thanks

try again ?

https://translate.google.com/

1 Like

Yes I rewrite it thanks.