0

I need to jump to a different section of the page viewer when clicking on a link.

i.e "back to top" or "back to bottom"

Using href="#divID" works outside of sharepoint... but not inside it.

Any help will be appreciated.

p.s. I have no access to the master page.

1
  • It seems like it doesn't work for only IE, any suggestions?
    – Falcon
    Jul 13 '15 at 15:39
0

Not sure if it is useful for you, you may try something like this using jQuery:

$('#s4-workspace').animate({ scrollTop: $("#divID").offset().top - 80 }, 0);
1
  • Hmm I'll give it a shot, previously. not sure why though but .animate and scroll functions do not seem like they want to work in Internet Explorer.
    – Falcon
    Jul 13 '15 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.