animation - jquery scroll to different page and same page -


i know how animate scroll on link on same page. know how jquery page scroll external page. problem need use same hash link animate external page , internal page well.

let me explain further

suppose have 3 links,

link link b-1 link b-2

and link b-1 , b-2 on same page , in succeeding divs. i'm in link , when click link b-2, should go page links b-1 , b-2 , animate scroll area link b-2 is. if click link b-1 while on same page, should animate scroll top.

same thing should happen if on link a's page , clicked on b-1, should go page b-1 , b-2 , animate scroll b-1's section. if click b-2 on same page, should animate scroll section.

does make sense? can me please? thank you

if have access source code of external link, can pass variable set cookie in browser. , cookie when reach external link. in cookie put value scrolltoblock = b2. , when value cookie on external link enter, know scroll.

you can read cookies here: set cookie , cookie javascript


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -