---
title: "How to shorten display time for the inline message in Windchill 10.0 "
author: "li.feixiang"
date: "2012-09-03T00:24:00Z"
tags: []
categories: ["行业应用"]
slug: "how-to-shorten-display-time-for-the-inline-message-in-windchill-10-0"
draft: false
lastmod: "2012-09-03T00:24:00Z"
id: 1669871
url: "https://felixli.iteye.com/blog/1669871"
---

标题 How to shorten display time for the inline message in Windchill 10.0 说明

- The **inline message** will display 4 seconds, then fade out gradually.
- How to shorten the display time?
- **Inline message** example after creating a new object successfully:

*CONFIRMATION: Create successful*  
*The object was created successfully.*

适用于 Windchill PDMLink 10.0 M020 原因   解决方案

1\. Open file **&lt;WT\_HOME&gt;\\codebase\\netmarkets\\javascript\\util\\jsfrags\\messaging.jsfrag** in a text editor

2\. Locate following content:  
 

**/\** after user has not touched the message window for 4 seconds, begin to fade it out \*/**  
**PTC.messaging.deferTimeoutMill = 4000;**

3\. Change the value of **PTC.messaging.deferTimeoutMill** from 4000 (4 seconds) to 1000 (1 second), this will shorten the display time for **inline message**.

4\. Locate following content:

**PTC.messaging.messageFadeout = function(){**  
    **PTC.messaging.msgWindow.getEl().fadeOut({**  
        **endOpacity: 0.01,**  
        **duration: 6,**  
                  **callback: PTC.messaging.closeInlineMessageFadeout**  
    **});**  
**};**

5\. Change the duration value from 6 to 1, this will shorten the fade out time for **inline message**.  
6\. Save the file  
7\. Execute following command in **Windchill shell**:  
 

**ant -f bin\\jsfrag\_combine.xml**

8\. Restart Windchill  
9\. Open a new browser session to observe the change