Can I link to navigate to different page sections? [closed]

Hi ,

Is it possible to link from navigation menu to the section within the page?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Frank
close date 2016-07-11 07:38:48.054079

1 answer

Sort by ยป oldest newest most voted

We plan to have complete anchor tags in the near future, but for now, you can jump to a specific block on the page from a link on that same page using a bit of Javascript.

  1. Copy the code at https://gist.github.com/ray-peters/cb... and paste it into the "Custom footer code" section in your ONTRApage, on the Settings tab, in the "Custom Code" section.
  2. Edit the link you want to "jump". Select "URL" and type in http://mypage.com/jump-to-block-## where ## stands from the block number, counting down from the top. The domain "mypage.com" is internal to your page and captured by the Javascript so don't worry ... your customer won't be sent to that domain!

In this image, http://mypage.com/jump-to-block-3 has been added to a link so it will jump to the third block down from the top.

Using the Jump To Block URL

edit flag offensive delete publish link more


Thanks a lot!

kaan gravatar imagekaan ( 2015-10-28 03:52:20 -0700 )edit

Question Tools


Asked: 2015-10-25 17:07:28 -0700

Seen: 110 times

Last updated: Apr 18 '16