Me enteré "window.location.hash" nuevo y probado en mi código jquery en lugar de "window.location.href" y ambos dieron los mismos resultados.¿Cuál es la diferencia entre "window.location.href" y "window.location.hash"?
Código está aquí:
window.location.href = ($(e.currentTarget).attr("href"));
window.location.hash = ($(e.currentTarget).attr("href"));
¿Cuál es la diferencia entre ellos?
http://www.w3schools.com/jsref/obj_location.asp –
El valor de esta propiedad puede ser diferente en diferentes navegadores. Una forma segura de obtener la propiedad hash sería usar en su lugar: 'var hash = (location.href.split (" # ") [1] ||" ");' – naXa