Sparkle's On Click inspector allows you to add a link or action to any text, image, button, menu item or group.

By default the option is set on "Do Nothing”, but it can be set to any of the following:

  • Go to Page in This Website
  • Go to External Link
  • Open Email
  • Call Phone Number
  • Download file
  • Open Popup
  • Close Popup

Images and buttons have additional options, check the respective documentation pages.

Go to Page in This Website

Sparkle knows about all the pages in the site, so it makes it really quick to pick one as a link destination. One additional refinement is picking a location in the page, so that when the user clicks on the link the browser will smoothly scroll to the selected location.

Scroll locations can be created both by selecting “New Scroll Location…” and by adding a new one to the page by picking the “Scroll Location” icon on the “Add” popup.

Go to External Link

The is the most general form of link, where you enter a web address (also referred to as URL, Uniform Resource Locator) like you would find it in the browser. The address text box supports web addresses (usually prefixed with http:// or https://) and other kinds of addresses as well.

Open Email

The Open Email option has a field to specify the recipient's address. Clicking on the resulting link will open a new message in your default client email or redirect to a webmail interface. If spam is a concern, a better option is to create a contact form.

Call Phone Number

The Call Phone Number option will cause the site visitor’s device to make a phone call the specified number (after confirmation).

On many desktop devices the phone call is often routed via video calling software.

Download File

The Download file option lets you choose any file on your Mac, such as a PDF or a ZIP archive, to be offered for download from the website. The file will published along with the website, and downloaded from there.

A shortcut to create a link to a downloadable file is to drag and drop it onto the Sparkle canvas, which will create the download link.

Open Popup and Close Popup

These two options are related to the use of popups, check the popup documentation page.

The Sparkle On Click options
The options for a link within the website
The scroll location button
The options for an external link
The options for an email link
The options for a phone call link
The options for a download link

Updated for Sparkle 3.1

Auf Deutsch

En Français

In Italiano

Please report any shortcoming in this documentation and we’ll fix it as soon as possible!

Sparkle combines an all-in-one approach, an understandable interface and a focus on producing high performance and search engine optimized websites. 

All in a powerful native Mac app. 

Nothing else comes close.

Copyright ©2021 River SRL 

IT06208340486 — REA FI-609716

This site uses cookies. Some are essential to make our site work; others help us improve the user experience and display third party content. By using the site, you agree to our site sending these cookies. Read our privacy policy to learn more or opt out.