Navigation

Discussion in 'HTML & Website Design' started by drew68, Feb 2, 2016.

  1. #1
    http://harderbob.wp.hobbsherder.com

    Was wondering if anyone can shed light on this… notice the navigation bar when you scroll down the site…it jitters. it's not smooth when you scroll down initially.

    Is there any way that can be fixed?
     
    drew68, Feb 2, 2016 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    Generally speaking that just goes with the territory of that type of artsy animated nonsense that just wastes screen space that could be better used to show content. It's why I hate it when sites do that with the menu/header and if I actually care about trying to use the site, I shove my **** down the site's throat with user.css via something like the Stylish plugin, and/or block the script that makes it happen.

    My advice? put that menu back where it belongs instead of trying to fix it's position while scrolling. Either that or actually just use position:fixed with a top-padding on the content instead of dicking around with scripttardery to make it work.

    Basically it nabs all THREE of the things I consider to be "JS for nothing":

    1) Something that could be coded simpler.

    2) Something that's CSS' job

    3) Something that really has no business on websites in the first place if you care about usability or accessibility.
     
    deathshadow, Feb 2, 2016 IP