CityHacker
百度首页 | 百度空间
 
文章列表
 
2008-08-29 11:56

201室: Room 201
12号: No.12
2单元: Unit 2
3号楼: Building No.3
长安街: Chang An street
南京路: Nanjing road
长安公司: Chang An Company
宝山区: BaoShan District
赵家酒店: ZhaoJia hotel
钱家花园: Qianjia garden
孙家县: Sunjia county
李家镇: Lijia town
广州市: Guangzhou city
广东省: Guangdong province
中国: China


实例:
宝山区南京路12号3号楼201室
room 201,building No.3,No.12,nanjing road,BaoShan District

 
2008-08-06 13:39
5、生成新的数据类型(投影)
var makesColors
 
2008-08-06 13:37
一、LINQ查询符列表

 
2008-08-06 13:31

1.         引言

1.1.        文档说明:

该文档主要

 
2008-07-24 15:13
I was playing around with DOM DocumentFragments recently, in JavaScript, seeing what I could make with them. Roughly speaking, a DocumentFragment is a lightweight container that can hold DOM nodes. It's part of the DOM 1 specification and is supported in all modern browsers (it was added to Internet Explorer in version 6).

In reading

 
2008-07-24 15:11

一旦把节点添加到document.body(或其后的节点)中,页面就会立即反映出这个变化。对于少量的更新,这是很好的。然而,当要向document.body添加大量数据时,如果逐个添加这些节点,这个过程有可能会十分缓慢。为解决这个问题,可以创建一个文档碎片,把所有的新节点附加其上,然后把文档碎片的内容一次性添加到document中。

     假设你想创建十个新段落。你可能这样写:

 
2008-07-20 17:23

在IE下的JS编程中,以下的编程方式都会造成即使关闭IE也无法释放内存的问题,下面分类给出:    
  
1、给DOM对象添加的属性是一个对象的引用。
范例:    
var MyObject = {};    
document.getElementById('myDiv').myProp = MyObject;    
解决方法:
在window.onunload事件中写上: document.getElementById('myDiv').myProp = nu

 
2008-07-20 17:21
先来说eval的用法,内容比较简单,熟悉的可以跳过。
eval函数接收一个参数s,如果s不是字符串,则直接返回s。否则执行s语句。如果s语句执行结果是一个值,则返回此值,否则返回undefined。
需要特别注意的是对象声明语法“{}”并不能返回一个值,需要用括号括起来才会返回值,简单示例如下:

var code1='"a" + 2';     //表达式
var code2='{a:2}';       //语句
alert(eval(code1));   
 
2008-07-20 17:08
计算机的应用已经从过去单纯的科学计算渗透到政务管理、商品交易、金融证券、军事指挥、航天航空、通讯导航、生物工程、医疗服务等多个领域。随着计算机技术的发展和应用范围的不断延伸,作为计算机灵魂的软件系统,其规模也在不断扩大,结构越来越复杂,代码越来越长、维护越来越困难,从过去几百行代码扩大到几万甚至几十万、几百万行代码的软件系统俯首皆是。因此,设计一个功能完善、结构优良,开发效率高,稳定性和安全性强,扩展方便,维护简单,易于复用,生命周期长,投资成本低的软件系统,一直是系统管理、设计和开发者
 
2008-07-14 18:20

等距线画法可分为栅格(光栅)方式和矢量方式二种。栅格方式一般采用“距离变换”等算子实现,算法简练,但在不同方向上的等距线可能不严格等距。矢量方式是按几何关系通过坐标计算获得等距线位置,算法复杂,但精度高。本文介绍的是矢量方式的等距线画法。


                           

 
2008-07-11 09:52

你知道FireBug有多少扩展程序吗 ?想不到有这么多的扩展程序吧:

  • YSlow
  • Firecookie
  • FirePHP
  • RainbowForFirebug
  • Jiffy
  • Firequark
  • LiveCoder
  • PixelPerfect
  • FirebugCodeCoverage
  • Firebug Net Panel History Overlay
  • Fireclipse
  • Chromebug

http://hi.ba

 
2008-07-11 09:16

Even if this part is also about web services integration, the main purpose is actually to show another (and a bit more complex) example of Domplate usage. In this part I have used Yahoo! Search Web Services to track inbound links and demonstrate how Domplate can be used together with real data. Final extension in this part will discover what pages link to the current page in the

 
2008-07-11 09:15

One of the most interesting parts of the Firebug framework is a template system called Domplate. This engine is used to generate HTML UI of Firebug (content of all FB's panels).

It's quite powerful template system and I would definitely recommend to use it when creating UI for Firebug extensions.

Domplate generates the result HTML markup according to templates written in JavaScript. These templates are internally evaluated into a text, which is consequently inserted into s

 
2008-07-11 09:14

I have already mentioned a few times that we'll take a look at how to properly localize our extension. Even if the process is nothing new for experienced extension programmers, I think it should be part of this tutorial.

First of all, let's extend our directory structure. We'll need a new place where to put localized strings.

helloworld@janodvarko.cz/
    chrome/
        content/
            helloworld/
                helloWorld.xul
                helloWorld.js
     
 
2008-07-11 09:13

I have finally got some time to write another piece of the tutorial. This time I’ll explain how to use an Options menu that is available in every Firebug’s panel. This menu is located at the right side of a tab-bar.

See an example of Console Options menu from Firebug 1.1

 
     
 
 
个人档案
 
CityHacker

广西 
上次登录:
7天前
加为好友
 
   
 
最新照片
 
   
 
日历
 
     
 
最新评论
   
文章评论|照片评论


能看见9张脸的智商就有一百八十了?要求也太低了嘛。
 

整个图都是头,很小的图,画这个图的老大真是天才。
 

完全就是用无数个头组合的,如果要定个数超过100
 

我看见有无数个,不要数了。
 

不错。
 
     
 
最近访客
 
 

冯其鲁

里昂人

白Benny

javaning

xuaner蓝

xuan200

kekelinli

_柒柒℡
     
 
其它
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

您也想拥有这样的空间?请点此申请。
     


©2008 Baidu