Make a widget title clickable
Use custom JavaScript to make a widget title link to another page on your intranet.
Before you start
- You need access to the Control Panel with permission to manage the Developer Framework.
Note: This script is a sample, not officially supported by Interact Technical Support. Review and test it with your development team before use, as it may need amends to work in your environment.
Overview
You can make the title of a widget clickable so that a user can select it and navigate to another page on the intranet. Add the following custom MasterPage JavaScript:
$(document).ready(function() {
$("li[data-widgetinstanceid='3305']").on('click','.widgetTitle', function(){
window.location.href='/Interact/Pages/Content/Document.aspx?id=1118';
});
});
In this example, selecting the title of the widget navigates the browser to a particular page on the intranet. This works for the specific widget with an instance ID of 3305 and does not affect the other widgets on the page.
To find the ID of the widget, inspect the element on the page and look at the widgetinstanceid data attribute on the li element.

Related
Section: Customise & extend