
JavaScript
文章平均质量分 86
iteye_3157
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
用html5中canvas标签写个贪吃蛇
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>沙舟狼客制作</title> <style type="2011-07-31 02:05:19 · 169 阅读 · 0 评论 -
Highcharts学习笔记-line(内存使用监视)
1、引入highCharts的js <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery-1.6.js')}"></script> <script type="text/javascript" src="${resource(dir: 'js', file: 'highc.2011-08-16 23:15:49 · 193 阅读 · 0 评论 -
Highcharts学习笔记-饼状图(内存使用监视)
function show(arr) { //alert(arr); var chart = new Highcharts.Chart({ chart: { renderTo: 'container', plotBackgroundColor: null, plotBorderWidth...2011-08-17 21:23:33 · 185 阅读 · 0 评论 -
Highcharts动态曲线图(使用jna监视cpu使用率)
1、CPU使用率获取,因为我要用JNA调用,所以用c++调用windowAPI,编译成Dll文件;dll的代码如下: // DllTest.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "iostream" #include "stdafx...2012-01-10 22:30:21 · 194 阅读 · 0 评论 -
107个常用Javascript语句
1.document.write( " "); 输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document- >html- >(head,body) 4.一个浏览器窗口中的DOM顺序是:window- >(navigator,screen,history,location,document) 5.得到表单中元素的名称和值:document.getElemen...2010-08-01 21:20:00 · 84 阅读 · 0 评论 -
ActionScript3.0学习笔记(1)
1、函数定义: function 函数名(参数:类型):返回类型{ //函数体定义 } 如: function add(a:int,b:int):int{ return a+b; } 错误写法: function add(var a:int,var b:int):int{ return a+b; } 2、事件处理 实...2011-09-25 16:57:57 · 183 阅读 · 0 评论 -
extjs+struts(JSON)对表格的增删查改
html代码: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="原创 2011-03-03 15:59:10 · 117 阅读 · 0 评论 -
JQuery操作select
//为Select添加事件,当选择其中一项时触发 $("#select_id").change(function(){//code...}); //获取Select选择的Text var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Value var checkV...原创 2011-03-30 16:46:33 · 92 阅读 · 0 评论 -
京东导航的jquery实现
1、先看一下效果图 2、规划好html的结构 <!-- 放导航的容器 --> <div id="left"> <!--一个item1是一个一级导航 --> <div class="item1"> <!-- 一级导航标题--> <h1>一级标题</原创 2012-06-13 10:07:36 · 251 阅读 · 0 评论