creapage.net

HOWTO - Sashipa development

 GuiStarting: How to define the loading frame content.

You wish to define the content of the loading window.

The content of the loading window can be defined in HTML format.

First a HTML code must be written. Most of HTML markups are available, but do not use style-sheet or JavaScript. Here is the HTML code used by the demonstration application:

  <html>
  <body bgcolor='#ffffdc'><center><font color='#5858d2'><b>
    <br><br><br>
    <font size=+2>Demo</font>
    <br><br>
    <i>Sashipa-Melba technology</i>
  </b></font></center></body>
  </html>

Before to insert this HTML code into your XML source, markup characters have to be transformed in order to not be parsed by the XML parser. Replace all '<' by '&lt;' and possibly '>' by '&gt;' :

  &lt;html&gt;
  &lt;body bgcolor='#ffffdc'&gt;&lt;center&gt;&lt;font color='#5858d2'&gt;&lt;b&gt;
    &lt;br&gt;&lt;br&gt;&lt;br&gt;
    &lt;font size=+2&gt;Demo&lt;/font&gt;
    &lt;br&gt;&lt;br&gt;
    &lt;i&gt;Sashipa-Melba technology&lt;/i&gt;
  &lt;/b&gt;&lt;/font&gt;&lt;/center&gt;&lt;/body&gt;
  &lt;/html&gt;

Now the HTML code is ready to be inserted in the Sashipa XML source. It can be added in the element guiStarting:

  <guiStarting name='startingMain'>
    <loadingScreen>
      <loadingScreenContent type='html'>
        &lt;html&gt;
        &lt;body bgcolor='#ffffdc'&gt;&lt;center&gt;&lt;font color='#5858d2'&gt;&lt;b&gt;
          &lt;br&gt;&lt;br&gt;&lt;br&gt;
          &lt;font size=+2&gt;Demo&lt;/font&gt;
          &lt;br&gt;&lt;br&gt;
          &lt;i&gt;Sashipa-Melba technology&lt;/i&gt;
        &lt;/b&gt;&lt;/font&gt;&lt;/center&gt;&lt;/body&gt;
        &lt;/html&gt;
      </loadingScreenContent>
    </loadingScreen>
    <mainScreenRef guiModule='modMain' screen='SMMain' />
  </guiStarting>

Remarks: For the moment the only available type is 'html'.

Several guiStarting can be defined, for different guiInstances and/or different users.

© Copyright 2003 Sashipa-Melba Team. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License as much as this note clearly appears.