Animate hamburger glyph when activated


(Pirat) #1

small function for beauty


#3


(Jeff Atwood) #4

Yeah in Chrome, it always triggers the scroll bar during part of the animation so it shifts over. I tried maximizing and stuff but nothing helped.


(Pirat) #5

there js error
substitute

    function runPulse() {
  ring.addClass("run");
  setTimeout(function() {
    ring.removeClass("run");
  }, 800);
}

this

function runPulse() {
  ring.addClass("run");
  setTimeout(function() {
    ring.removeClass("run");
  }, 200);
}