The embed Element

From Documentation
Revision as of 08:15, 3 December 2010 by Char (talk | contribs) (Created page with ' {{ZKConfigurationReferencePageHeader}} [Optional][Multiple] It specifies the content that shall be added to the output generated and sent to the client when rendering a deskt…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


[Optional][Multiple]

It specifies the content that shall be added to the output generated and sent to the client when rendering a desktop. The syntax of the content depends on the client. For Ajax clients, it can be any tags that can be placed inside HTML HEAD tag, such as SCRIPT, META and others.

For example, if you want to show the progress bar in the center of the browser window, you can specify the following in zk.xml.

<device-config>
	<device-type>ajax</device-type>
	<embed><![CDATA[
 <script type="text/javascript">
     AU_progressbar = function (id, msg) {
         Boot_progressbox(id, msg, 0, 0, true, true);
     };
 </script>
     ]]></embed>
</device-config>

You can specify multiple embed elements and their content be concatenated together.



Last Update : 2010/12/03

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.