Dreamweaver CS4 | ![]() |
Dreamweaver CS4 Resources |
Apply the Set Text Of Status Bar behaviorThe Set Text Of Status Bar behavior shows a message in the status bar at the lower-left corner of the browser window. For example, you can use this behavior to describe the destination of a link in the status bar instead of showing the URL associated with it. Visitors often ignore or overlook messages in the status bar (and not all browsers provide full support for setting the text of the status bar); if your message is important, consider displaying it as a pop‑up message or as the text of an AP element. Note: If you use the Set Text Of Status Bar behavior
in Dreamweaver, the text of the status bar in the browser is not
guaranteed to change because some browsers require special adjustments
when changing status bar text. Firefox, for example, requires that
you change an Advanced option that lets JavaScript change status
bar text. For more information, see your browser’s documentation.
You can embed any valid JavaScript function call, property, global variable, or other expression in the text. To embed a JavaScript expression, place it inside braces ({}). To display a brace, precede it with a backslash (\{). Example: The URL for this page is {window.location}, and today is {new Date()}. |