Banner 3.1

Category / Domain : Interface
SCOL Voy@ger Compatibility : V 3.5 or above
Update : 2000/05

Function

The Banner module allows to display messages on a scrolling banner in the client graphic interface.
It is possible to edit on-line this module and to change temporarily or definitively the messages.
16 messages can be defined at the best. The colour of the text and the background of each message, the size and the font, as well as the scroll speed are customizable.
It is also possible to activate and to start events by clicking on a sentence of the banner.

When the option "Save modifications in dynamics" is ticked, the changes made to messages on-line are definitive. If this option is not activated,
the changes of message will be cancelled when shutting down the server. The on-line interface and the editor interface of the SCS are the same.

Configuration


Figure 1 : Banner module interface

(1) : Text => These are the messages shown on the banner. Up to 16 different messages can be displayed. Adjust the scroll speed and configure the font.

(2) : Save modifications in dynamics => Allows to edit on-line the BANNER module. By selecting this option, changes carried out on-line will be definitively recorded ;
in the contrary case, they will be lost with the stop of the server.

To activate an event by clicking on the banner, add parameters in the "Event parameters" field related to the message. For example, an URL to open a Web page
when clicking : " http://www.scol-techonologies.org". Then link Banner.clic to InOut.openUrl.

Implementation

Open the SCS creation tree, select the Interf folder and double-click on Banner.

Create required links for the project.

Action Function
module.event à Banner.start Starts the BANNER module on the client
module.event à Banner.destroy Stops the module
module.event à Banner.edit Allows to access the BANNER editor on-line and to modify messages and colors

Event Function
Banner.destroyed à module Action

Allows to launch an event at the closing of the module.

Banner.log à module Action Saves the changes made to messages in the Log module (to link in log.log)
Banner.entering à module Action An action is generated at the start of the module
Banner.bannerclick à module Action A left-click on the banner generates an action.
ATTENTION : The field "Event parameters" must be fill either with a value of at least a character such as 1 or with an URL related to a link to a InOut module (in order to open a Web page by clicking on the banner, for example)

Zone Function Interface Assignment
Banner.banner Displaysthe banner's text Client Yes