hello

海牛比我们想象中的要聪明

2006年11月12日 summer 没有评论

我们回到1902年,一位科学家检查了海牛像椰子大小光滑的大脑,注意到海象的大脑表面褶皱平滑的就像一个白痴。

从此之后海象被认为是除了吃草以外什么都不会做的动物。

brain

来看看实际情况,这幅图里面:

1、黑猩猩。2、猫。3、针鼹。4、海豚。5、水豚。6、松鼠猴。7、海牛。8、黄鼠狼。9、小海狸

的确海牛的大脑特别平整,褶皱极少。

海牛的一些图片,从nationalgeographic.com获取的一些资料

xa025.jpg

http://www.homesafe.com/manatee/photographs/index.html

calf149.jpg

calf36.jpg

http://www.nbbd.com/photos/manatee1/index.html

more see:

http://news.yahoo.com/s/ap/20061111/ap_on_sc/smart_manatees

分类: 东西南北 标签:

集成可以搜索的rss

2006年11月10日 summer 没有评论

write an very simple page to display other content in my site.

分类: 东西南北 标签:

blog feed

2006年11月8日 summer 没有评论

终于从理性上明白feed是什么东西了。

一个网站的东西,可以被订阅,被传播到更远的地方。

share every where。

分类: 东西南北 标签:

using dwr with your spring bean

2006年11月6日 summer 没有评论

In dwr sites, it tell use three way to use dwr with spring. But the important details are ignored on his suggest way.

If you are using spring and have your private spring bean manger.how to use DWR?

  1. define a spring bean implements BeanFactoryPostProcessor
  2. overwrite postProcessBeanFactory function
  3. call SpringCreator.setOverrideBeanFactory(beanFactory)

the code was just like this:

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import uk.ltd.getahead.dwr.create.SpringCreator;
/**  * @author summer  *  */
public class DWRSpringIntegrator implements BeanFactoryPostProcessor {
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
        SpringCreator.setOverrideBeanFactory(beanFactory);
    }
}

分类: dwr 标签:

how to use pagelist tool

2006年11月5日 summer 没有评论

1.Import prototype.js and pagelist.js

 

 

2.define pagelist show node and page content show node

init...
init...

 

3.define callback function getPage and new PageList

 

4.PageList.Slider parameters intorduce

parameters are:element, itemsPerPage, items, width, style, callback

element is the node id of where you wish to display the pagelist.

itemsPerPage is the page size.

items is the count of all your record.

width is display pages number.

style is the selected page's style.

callback is the function of get content function.

分类: javascript 标签: