Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html anchor in samae page without url

var functionforscroll = function(id){
    var reqId = "#"+id;
    window.scrollTo(0, $(reqId).offset().top-85);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #anchor #samae #page #url
ADD COMMENT
Topic
Name
4+8 =