Specifications

Data Translators 233
}
// Return the translated string.
return outStr
}
function getTranslatorInfo(){
returnArray = new Array(7);
returnArray[0] = "Pound_Conditional"; // The translatorClass
returnArray[1] = "Pound Conditional Translator"; // The title
returnArray[2] = "2"; // The number of extensions
returnArray[3] = "html"; // The first extension
returnArray[4] = "htm"; // The second extension
returnArray[5] = "1"; // The number of expressions
returnArray[6] = "<#"; // The first expression
returnArray[7] = "byString"; //
returnArray[8] = "50"; //
return returnArray
}
</script>
</head>
<body>
</body>
</html>
Inspecting translated attributes
When server markup specifies a single attribute and the attribute is represented in a Property
inspector, Dreamweaver displays the server markup in the Property inspector.
The markup appears whether a translator is associated with it. The translator runs whenever the
user edits the server markup that is shown in the panel.
Note: The lightning bolt icon does not appear when text or table cells, rows, or columns are selected. Translation
continues if the user edits server markup in the panel, and a translator exists to handle that type of markup.
When server markup controls more than one attribute in a tag, the server markup does not appear
in the Property inspector. However, the lightning bolt shows that translated markup exists for the
selected element.