How to customize the display delay for SmartInfo pop-up windows
Summary
By default, the amount of time it takes for a SmartInfo popup to display information is one second (1000 ms). On some systems, you may want to override this default setting — for example, to reduce the display delay time.
Explanation
View the SmartInfo display delay setting in the text file webweb smartinfopopup js:
Elsewhere in the text file webweb smartinfopopup js, the default display delay is conditionally specified with the JavaScript variable gSmartInfoDisplayDelay
:
var displayDelay = defaultDisplayDelay;
if (typeof(gSmartInfoDisplayDelay) != "undefined") { displayDelay = gSmartInfoDisplayDelay;
}
Suggested Approach
Customize the SmartInfo display delay by setting the gSmartInfoDisplayDelay
JavaScript variable in a custom JavaScript rule assigned to the Harness in the Scripts and Styles tab of the Harness form:
var gSmartInfoDisplayDelay=<value in milliseconds>;
For example, you might want to decrease the SmartInfo display delay to 100 milliseconds (ms).
- In the Harness form, the Scripts and Styles tab, open the script file setSmartInfoDelay for editing.
- In the Text File form for webweb setSmartInfoDelay js, the Main tab, the File Source field, specify the variable value shown in this example or another value that suits your needs:
var gSmartInfoDisplayDelay=100;