Documentation

Go To Page Button

Description

The Go To Page Button redirects user to a given page title or page index.

This button also allows redirecting to a page in Commons. However, in this case there are some rules that need to be followed:

  • Use only the Page Title property.
  • A page name in the Page Title property must start with: CM_, e.g: CM_Page1.
  • Names of pages must be unique in the Commons Pages list.
  • Such pages should be treated as popups to display text, not content with activity modules.

Properties

The list starts with the common properties, learn more about them by visiting the Modules description section. The other available properties are described below.

Property name Description
Title A title displayed inside the addon.
Page Title A page title that a user wants to redirect to.
Page Index A page index that a user wants to redirect to.

Supported commands

Command name Params Description
hide --- Hides the module.
show --- Shows the module.

CSS classes

Class name Description
.ic_button_gotopage indicates the look of the Go to page button. To determine the page to which the Go to page button should lead, it is necessary to enter its name in the Page section in the Properties side menu
.ic_button_gotopage-up-hovering indicates the look of the Go to page button on mouse hover
.ic_button_gotopage-down-hovering indicates the look of the Go to page button on mouse click

Examples

1.1. Go to page:
.ic_button_gotopage{
background-image: url('/file/serve/117040');
background-repeat: no-repeat;
background-position: center;
}

1.2. Go to page — up-hovering:
.ic_button_gotopage-up-hovering{
background-image: url('/file/serve/117041');
}

1.3. Go to page — down-hovering:
.ic_button_gotopage-down-hovering{
background-image: url('/file/serve/123001');
}