Anyone made any yet ???
They are just javascript and html .....
Heres a little one I made to get information about my wireless network
Do this :
Win Key + R
%userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets
Create a folder named Wifi-info.Gadget
Create a file inside the above folder named "Wifi-info.html"
Create another file named "gadget.xml"
Now open the sidebar, and it'll be in the list of gadgets [ + at top of screen ]
Seriously, I think microsoft got it right for once, javascript is REAL easy to use and if I knew how to make things look nice that would be real easy too.....
Anyone have any suggestions for cool gadgets, I'm ---- at coming up with ideas .....
They are just javascript and html .....
Heres a little one I made to get information about my wireless network
Do this :
Win Key + R
%userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets
Create a folder named Wifi-info.Gadget
Create a file inside the above folder named "Wifi-info.html"
HTML:
<html>
<head>
<title>Wifi-info</title>
<style>
body
{
width: 130px;
height: 100%;
text-align: center;
font-family: Tahoma;
font-size: 10pt;
position: absolute;
}
</style>
<script language="javascript">
var ssid ;
var secure ;
var ip ;
function load( )
{
if( ssid )
{
ssidContent.innerText = ssid ;
secureContent.innerText = secure ? 'Secure Network' : 'Insecure';
signalContent.innerText = 'Signal : ' + strength + '%';
addressContent.innerText = 'IP : ' + address ;
}
else
{
ssidContent.innerText = 'Not Connected';
secureContent.innerText = '';
signalContent.innerText = '';
addressContent.innerText = '';
}
}
function detect( )
{
window.setTimeout( 'detect()', 1000 );
ssid = System.Network.Wireless.ssid ;
if( ssid )
{
strength = System.Network.Wireless.signalStrength ;
address = System.Network.Wireless.address ;
secure = System.Network.Wireless.secureConnection ;
}
load( );
}
</script>
</head>
<body onload="detect( );">
<span id="ssidContent"></span>
<br />
<span id="secureContent"></span>
<br />
<span id="signalContent"></span>
<br />
<span id="addressContent"></span>
</body>
</html>
Create another file named "gadget.xml"
HTML:
<?xml version="1.0" encoding="utf-8" ?>
<gadget>
<name>Wifi-Info</name>
<namespace>Wifi-Info</namespace>
<version>1.0.0.0</version>
<author name="Joe Watkins aka krakjoe">
<info url="www.krakjoe.com" />
</author>
<copyright>© 2008-2010 J Watkins</copyright>
<description>Simple Wifi Monitor</description>
<hosts>
<host name="sidebar">
<base type="HTML" apiVersion="1.0.0" src="Wifi-info.html" />
<permissions>Full</permissions>
<platform minPlatformVersion="1.0" />
</host>
</hosts>
</gadget>
Now open the sidebar, and it'll be in the list of gadgets [ + at top of screen ]
Seriously, I think microsoft got it right for once, javascript is REAL easy to use and if I knew how to make things look nice that would be real easy too.....
Anyone have any suggestions for cool gadgets, I'm ---- at coming up with ideas .....