Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 9.6

...

Table of Contents
maxLevel2

For a hands-on example on how to create a simple trigger based on a page URL, see Creating your first trigger. For more complex trigger use casesexamples of creating different types of triggers, see Trigger examples.

Creating a trigger

...

  • URL: Matches the exact URL of the page. For example: http://www.example.com/index.html
  • Protocol: Matches the HTTP or HTTPS part of the URL.
  • Domain: Matches the part after the protocol. For example, in the URL http://www.example.com/index.html, the domain is www.example.com.
  • Path: Matches the URL path after the domain. For example, in the URL http://www.example.com/index.html, the path is /index.html.
  • Anchor: Matches any part of the URL that comes after the "#" character.
  • Query selector: Matches any part or the URL that comes after the "?" character. If the query parameter is defined, it will only match a single parameter. For example, in the URL http://example.com/?search=word&count=10, the complete query parameters are search=word&count=10, and the query key for search is word.

...

  • .

Alias

You can define an alias for a trigger. You can use the alias to bind a JavaScript function to the trigger. For example, use the following code to bind an alias named "myTriggerAlias" to a trigger:

...