[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum :: View topic - Net blinking funtion?
XWidgetSoft Forum
https://bbs.xwidget.com/

Net blinking funtion?
https://bbs.xwidget.com/viewtopic.php?f=7&t=3193
Page 1 of 1

Author:  Jimking [ June 5th, 2013, 6:06 pm ]
Post subject:  Net blinking funtion?

I'm creating a net widget. I have two kind of arrows with different colours (png files) and I want to use them as one like this:
Flash up when "reading", so when is active the download or upload. Is it possible...???? :roll:

Author:  Jimking [ June 6th, 2013, 3:54 am ]
Post subject:  Re: Net blinking funtion?

Same question by Cov:
viewtopic.php?f=8&t=3194

Author:  meme [ June 6th, 2013, 2:46 pm ]
Post subject:  Re: Net blinking funtion?

This seems to work

function netmonitorcore1OnUpdate(Sender)
{
var NetInCheck = netmonitorcore1.get("%NetinSpeed");
if(NetInCheck.charAt(0) == 0)
{
text4.Text = "False"; // change image color to suit no download data flow
}
else
{
text4.Text = "True"; // change image color to suit download data flow is active
}

var NetOutCheck = netmonitorcore1.get("%NetoutSpeed");
if(NetOutCheck.charAt(0) == 0)
{
text3.Text = "False"; // change image color to suit no upload data flow
}
else
{
text3.Text = "True"; // change image color to suit upload data flow is active
}
}

Author:  Jimking [ June 6th, 2013, 3:22 pm ]
Post subject:  Re: Net blinking funtion?

Thank you meme, but this code seems to be taken from a specific widget that is different from mine...
I wanted to use 2in1 images that will alternate depending of the activity...
But thank you anyway! ;)

Author:  meme [ June 6th, 2013, 3:59 pm ]
Post subject:  Re: Net blinking funtion?

Hi jimking
I was aware you wanted to change the image but not sure or its exact location or name.
So I wrote this code and thought you would just modify the lines "// change image color" to toggle the images you are using.
Happy to assist if you provide a sample. :)

Author:  meme [ June 7th, 2013, 1:08 am ]
Post subject:  Re: Net blinking funtion?

Hi jimking
Hope you don't mind, I modified your "glass_(vclouds)_net" widget so the arrows change to yellow when uploads or downloads are active.
Not the method you mentioned but the effect is the same, its hides the yellow arrow when no traffic is detected.
What do you think :?:

Attachments:
File comment: "glass_(vclouds)_net" with code
glass_(vclouds)_net.XWidgetPkg [88.86 KiB]
Downloaded 279 times

Author:  Cov [ June 7th, 2013, 2:53 pm ]
Post subject:  Re: Net blinking funtion?

I wonder why the values for transferspeed differ so much:

Author:  meme [ June 7th, 2013, 3:01 pm ]
Post subject:  Re: Net blinking funtion?


Author:  Cov [ June 7th, 2013, 3:12 pm ]
Post subject:  Re: Net blinking funtion?

Hi meme,

I just closed down another widget (Simplicity) for monitoring net traffic and it really made a difference.
However, I still had the Chameleon Glass (Windows standard) gadgets open at the same time.

In comparison to the windows standard gadgets, the values of the xwidget were very unsteady, flickering up and down.
Can there be any settings changed to make the numbers more steady?

Thanks

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