Welcom ,I hope yo will enjoy here!

rails flash chart

http://www.highcharts.com/products/highcharts

https://github.com/xiaods/lazy_high_charts/blob/master/spec/high_chart_spec.rb

 

 

<script   language="javascript">
alert("begin");
var   WshShell=new   ActiveXObject( "WScript.Shell");
alert(WshShell);
alert(WshShell.ExpandEnvironmentStrings( "%COMPUTERNAME% ")); //这一句是用来得到用户的计算机名称
alert(WshShell.ExpandEnvironmentStrings( "%USERNAME% ")); //这一句是用来得到用户名
</script>

 

 

<script>
var WshNetwork = new ActiveXObject("WScript.Network");
var user_Domain =WshNetwork.UserDomain;
alert(user_Domain);
var Computer_Name =WshNetwork.ComputerName;
alert(Computer_Name);
var User_Name =WshNetwork.UserName;
alert(User_Name);
</script>

posted on 2012-07-09 18:57  北国的雨  阅读(387)  评论(0编辑  收藏  举报

导航