cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
This script allows you to map the left arrow key to control the left dashboard panel, and also maps the right arrow key to control the right dashboard panel. Also using this approach, you can map any keyboard key to other types of functionality.
This script needs to be added to a dashboard script to work.
//check to see if left or right arrow is clicked to show/hide window panes

$(document).keydown(function(e) {

    switch(e.which) {

        case 37: // left

            $('div.trillapser-container', $('div#prism-leftview')).click();

            break;

        case 39: // right

            $('div.trillapser-container', $('div#prism-rightview')).click();

            break;

        default:

            return;

    }

});
Rate this article:
Version history
Last update:
‎03-02-2023 09:10 AM
Updated by:
Contributors