EverWebSoftwareTips and TricksTutorialsWeb Design

Easy, Advanced Hyperlinking with Scroll Position!

Hyperlinks are something almost every website you design will include at some stage. In EverWeb, even the Navigation Menu widget is based on hyperlinks to specific pages in your website.

The Hyperlinks Inspector tab in the Inspector Window is used to link to other pages within your website, to your email program or to enable the downloading of linked files such as .pdf files. EverWeb version 1.9 added the ability to open hyperlinked pages within pop-up windows or in a new window. Now EverWeb version 2.6 lets you do even more with the new Scroll Position feature.

Introducing Scroll Position</strong

Scroll Position places an ‘anchor’ in the place you want it on your web page that can be hyperlinked to, from any page within your website. For example, you may want to set up a Scroll Position to take your visitor to a particular paragraph on your page, or to an image or media object. You may also want to use it to create a ‘Back To Top’ feature for your page which we’ll come on to later…

Introducing Scroll Position

To set up a Scroll Position go to the page where you want to add it then click on the Scroll Position button in the Toolbar, or use the Insert -> Scroll Position menu option. You’ll see a turquoise line appear across the width of the page. This means that the Scroll Position line is currently selected. If you click on another part of the page, the Scroll Position will be deselected and changes to a dark blue color.

To select a Scroll Position line, just click on it. Its color will change to turquoise. Scroll Position lines don’t have selection handles as they’re a special type of object so if you want to move it just click and drag the line to where you want it. Release the mouse button to finish. You’ve now set up an ‘anchor’ that you can hyperlink to.

If you’ve added a Scroll Position to your page by mistake just select it then hit the backspace key on your keyboard to delete it.

Naming Scroll Position Lines

Each Scroll Position has a unique name. To see the name, select the Scroll Position then click on the Widget Settings tab in the Inspector Window. You’ll see the default name ‘scroll position-‘ followed by a number. The number represents the vertical (Y) position of the Scroll Position line on your page. Remember that the zero vertical ‘Y’ position is at the top of the page. If you move the line up or down the page, the Y position number will update when you reselect the Scroll Position.

The Scroll Position ‘Unique Name’ can be edited which is handy if you have several Scroll Positions on the page.Using a user friendly name will make it easier to identify the Scroll Position rather than having to remember its location on the page. It’s good to use Unique Names if you’re using Scroll Position to jump to different sections, or paragraphs, on a page.

Hyperlinking with Scroll Position

To Hyperlink an object to the Scroll Position you’ve created,

  1. Click on the object you want to Hyperlink to. This may be on the same page as the Scroll Position, or on a different page, in your website.
  2. Next go to the Hyperlinks Inspector and tick the ‘Enable as Hyperlink’ checkbox.
  3. Set the ‘Page’ dropdown to the page that includes the Scroll Position then click on the ‘Position’ drop down.
  4. Here you’ll see ‘Page Top’ and the Scroll Position Unique name that you added earlier.
  5. Click on the Scroll Position.
  6. Your Scroll Position is now set up!
  7. Use EverWeb’s Preview to test that the Hyperlink scrolls you to the location of the Scroll Position that you set up.

Creating a Back To The Top Feature

You can also use Scroll Position to add a ‘Back to Top’ feature on your page to smooth scroll from the bottom of the page to the top,

  1. Start by adding a TextBox to the bottom of your page with ‘Back To Top’ as the text.
  2. Next, add a Scroll Position and move it to the top of the page (e.g. at Y position zero).
  3. You may want to call the Scroll Position ‘Back To Top’ although this step is optional.
  4. Finally, link the Scroll Position to your ‘Back to Top’ text as described above.
  5. Again, use Preview to test that the Scroll Position functions as you expect!

Scroll Position is a great way to easily hyperlink to exactly where you want to take your visitors in your website! Have fun with this new feature and please let us know if you have any questions!

You may also like

Comments

Leave a reply

Your email address will not be published. Required fields are marked *

More in EverWeb