XWidgetSoft Forum
https://xwidget.com/bbs/

Simple script
https://xwidget.com/bbs/viewtopic.php?f=8&t=4340
Page 1 of 1

Author:  Jimking [ April 7th, 2014, 10:24 am ]
Post subject:  Simple script

Guys how can I make a layer invisible when the time is 12h and reappear with 24h?
(using the right click !12hr/24hr option)

Author:  meme [ April 7th, 2014, 2:56 pm ]
Post subject:  Re: Simple script

Try...

function datetimecore1OnUpdate(Sender)
{
if (datetimecore1.get("%is12hr") == "true")
layer1.visible = false;
else
layer1.visible = true;
}

Author:  Jimking [ April 7th, 2014, 6:10 pm ]
Post subject:  Re: Simple script

Thanks meme I will try it, even I know that it will work fine. :)

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/