widget development

Scripting Mini-Tutorial

Scripting Mini-Tutorial

Vadowerx

This mini tutorial shows a simple Action Object using script to move a line of text.

Action Object PHP

Let’s start with the PHP code for the Action Object.

<?php
require_once("GLMcommon.php");
$vado = "<page >\n";
$vado .= "<object type='text' x='10' y='10' r='255' g='255' b='255' id='myText' align='none' hidden='false' linkto=’none’ onclick=’moveText();’ fontsize='large'>";
$vado .= "<data>Hello World</data>";
$vado .= "</object>\n";
    $vado .= "</page>";
$script = “

Syndicate content