Publish

Publish button provides GUI to Aurora window size configuration.
Size is the first section of this window and it allows you to insert widow size parameters into Aurora stand-alone web address and Aurora embedding JavaScript snippet.

    Aurora window can be resized dynamically or the size can be fixed.

  • Dynamic resizing can be done either on every resize of the browser window or, if you check the On load only box, just once, on Aurora window load, and then this size will be kept for the duration of Aurora session.
  • The second option – Fixed (in pixels) – enables you to set the size of Aurora window to fixed values. If Aurora is larger than the browser window – scroll bars will appear on the right and bottom side. If Aurora is smaller than the browser window then a grey margin will be left on the right side and below Aurora window. The two screenshots below show both scenarios:


Bottom margin (in pixels) allows you to force Aurora window to leave a margin on the bottom of browser window.

Aurora stand-alone web address:This is a simple link to the results of Aurora Creator Script. You can copy it to any web browser to see the results.

Aurora embedding JavaScript snippet:Aurora embedding JavaScript snippet is an automatically generated code which can be used as a part of html code to display Aurora application.

Example:
Simple html code with Aurora embedding JavaScript snippet included:

<html>
<head>
</head>
<body>
<div id="sample" style="width: 800px; height: 600px; display: block; overflow: hidden; position: relative"></div>
<div>        
    <script type="text/javascript">
        var s = document.createElement('script'); s.type = 'text/javascript';
        window.sampleReady = function(auroraApp) {
        };
        s.src = 'http://localhost/Aurora.svc/Frame?hostid=sample&username=guest&script=\\SampleScript.AuroraScript$&callback=sampleReady&resize=none&width=100&height=100';
        document.getElementsByTagName('head')[0].appendChild(s);
    </script>               
</div> 
</body>
</html>
IMPORTANT:

Aurora embedding JavaScript snippet works properly only if an Application ID field is NOT empty (Script settings).