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