- 博客(11)
- 资源 (3)
- 收藏
- 关注
原创 android 2.3 上 android-support-v4.jar 与 classes.jar 的添加
android-support-v4.jar 直接 Add To Build Path...而 classes.jar 必须 Add Library--> User Library 的方式添加,不然无法使用FragmentActivity和Fragment一系列的东西。还
2011-09-21 16:11:39
3730
原创 android webview ul:hover 的神奇问题
想在android 2.3的webview上模拟手指按下的down状态,发现css里写 1. ul[无空格]:[无空格]hover2. ul[空格]:[无空格]hover3. ul[空格]:[空格]hover4. ul[无空格]:[空格]hover 只有第二种情况才可行。汗-_!
2011-06-29 11:48:00
1714
转载 解决android webkit的css postion:fixed支持问题【转】
解决android webkit的css postion:fixed支持问题android webkit不能支持postion:fixed,导致无法设计网页上的菜单在页面上下滚动时固定在一个位置。解决方法如下:在Html中加入以下meta属性(适用于android 2.2 / 2.3) 示例页面如下:http://www.w3.org/1999/x
2011-06-14 11:48:00
3389
转载 隐藏android WebView的高亮选择框 How to Hide Android WebView Highlight Border (or change it’s color)【转】
这个CSS的作用就是隐藏掉网页在Android手机浏览器(Chrome lite)点击时出现的高亮虚线框,按理也可以隐藏掉iPhone Safari浏览器的高亮虚线,因为都是基于 webkit的嘛。Here’s one that had me at a loss for a long time that I just figured out. You can easily remove the highlight border (the border that comes up when an elemen
2010-12-22 10:37:00
3360
原创 lua迭代总结
以遍历一个列表中的元素为例, 总共有以下几种方法:1.使用协同function it(a) local i = 1 local n = table.getn(a) for index =i,n do --print(" index = ", index) coroutine.yield(a[index]) endendfunction sqf_list(a) co = coroutine.create( function () it(a) end ) return
2010-09-03 11:13:00
691
原创 lua学习笔记
lua初始化命令行在环境变量中添加LUA_INIT,可以将环境变量值设为以下两种:1. @d:/lua/example.lua 2. print("you, be diligent!")第一种:启动lua命令行时,将会执行example.lua文件。"@"表明是执行一个文件。第二种:直接执行语句。在启动命令行时,将会打印"you, be diligent!"以上两种方式用于初始化一些设置。
2010-08-30 14:55:00
1026
原创 Webkit 资料
RefPtr and PassRefPtr Basicshttp://webkit.org/coding/RefPtr.html
2010-08-17 14:45:00
729
原创 FBReader源代码分析(一) eXpat XML解析机制分析
<br /> 阅读开源项目FBReader 程序源码的时候,发现ZLXMLReader在解析XML时,采用了一种特殊的机制。解析时,进入XML TAG和退出XML TAG时,C++类ZLXMLReader的startElementHandler 和 endElementHandler 类成员函数被eXpat (C语言实现的XML解析库) 函数不停的调用。我仔细查看了一下,并仿写了一个类似的机制。<br /> <br />//CB.h<br /> #ifndef _CB_H_#define _
2010-08-04 23:33:00
3619
1
原创 OpenGL模拟太阳、地球、月球公转自转
// OpenGL_Prac.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #define C_PI 3.14159265358979GLdouble distanceSunToEarth = 70;//日地距离GLdouble distanceMoonToEarth = 35;//月地距离GLdouble g
2010-06-18 16:02:00
16602
2
转载 OpenSSL简介
OpenSSL简介原文出处:http://blogger.org.cn/blog/more.asp?name=OpenSSL&id=18971 SSL,Security Socket Layer,是一个安全传输协议,在Internet网上进行数据保护和身份确认。OpenSSL是一个开放源代码的实现了SSL及相关加密技术的软件包,由加拿大的Eric Yang等发起编写的。OpenSS
2010-01-29 09:43:00
799
JS+CSS Fancy Menu
2011-06-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅