javascript - Trying to get this wordpress theme to scroll to an id when a link is clicked on a different page -


easiest way explain if have @ site - haloespresso.com.au/working/

if click "menu" option in top menu, scrolls menu id #pg-9-4, want. on other pages, menu different , same link changed link home page #pg-9-4 added end of it. point here link page open home page scroll menu part of it. don't need smooth scroll or anything, go spot. looks go there like, 1 frame, it's loading, keeps jumping top. it's beyond me try , figure out causing lose basic html (afaik) functionality , keep forcing me top of page...

any great, i'm bit of noob when comes other html/css , simple jquery.

just append anchor end of link.

simply insert link like:

<a href="/someotherpage.html#section4">link section on page</a> 

edit: noticed you're not getting work. links like, , what's html id on target page?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -