dels
Junior Member
Posts: 16
|
Post by dels on Feb 4, 2005 17:24:10 GMT
i see some example page (exampleclock.ata) in antenna folder and that seems cool cause i love that clock but i dont understand about html script so i cant make custom html so if anyone know how to make clock like in that sample or atleast the script (if it require script) please share your knowledge about it i currently using antenna 2.3.91 trial thanks
|
|
|
Post by Stormdance on Feb 5, 2005 14:05:28 GMT
Hi Dels,
If you open the index page in the clock example, then select the Page Properties layer, you'll see a property called 'Custom-html'.
This contains the script for the clock which you can copy (Ctrl-C) and use on another page.
To start the clock you call the clockstart function, perhaps from the page On-load Event e.g.
On-load: clockstart(editclock)
...where 'editclock' is the name of the EditBox or Button that should display the clock. This is described better on the index page itself. With some scripting knowledge the function could be adapted for other controls too.
Cheers, Stormdance
|
|