Like the link : http://getbootstrap.com/css/#type
Here when you open this link, Window will automatically scroll to the type id
.
How did they do it?
I mean, how to scroll to a specific id on the same page using Header like some.com/post/#id
Please comment below if you need more clarification.
EDIT 2 :
Okay home.php#26
this is working..
But this is working only wen the page is already loaded and then i change the header.. i want it to work when page is loaded First time with this url only.
Like when u open http://getbootstrap.com/css/#type It automatically takes you to id "type". But when i load mywebsite/home.php?#26 it does nothing.