dennis_zane
- 浏览: 919365 次
- 性别:
- 来自: 杭州
社区版块
- ( 33)
- ( 1529)
- ( 28)
最新评论
-
hw7777777:
非常感谢作者提供这么好的工具,在使用的过程中遇到一些问题?1、 ...
基于java nio的memcached客户端——xmemcached -
since1978:
多久过去了时间能抹平一切
无路用的人 -
fangruanyjq:
[img][/img]引用
用osworkflow写一个请假例子(提供代码下载) -
thinkingmysky:
楼主,你确定,java memached client能处理并 ...
memcached java client性能测试的几点疑问和说明 -
hellostory:
aaa5131421 写道07年2月hibernate已经出来 ...
dozer与beanutils
文章列表
- 博客分类:
- web开发
smartclient是一个企业级的ajax框架,包括非常出色的ui库、工具库和客户端服务端数据绑定等功能。smartclient本来是一个商业产品,
2007年11月7号才以lgpl协议开源。除了一些所见即所得的构建工具和企业级的可选组件外,其他� ...
- 2008-01-08 15:51
- 浏览 7809
1.global对象。这对象之所以特别就是因为它根本不存在!-_-。如果你声明var pointer=global;报错,找不到此对象。这是因为在ecmascript中,每个函数都某个对象的方法,我们用到的isnan(),isfinite(),parseint()和parsefloat()函数,看起来是独立的函数,其实它们都是global对象的函数。需要注意两个用于处理url编码的函数:1)encodeuri()和decodeuri() 处理完整的uri2)encodeuricomponent()和decodeuricomponent() 处理片段2.其他对象如array,math, ...
- 2007-02-06 14:05
- 浏览 1257
- 博客分类:
- web开发
开始读《javascript高级程序设计》第2章 ecmascript基础javascript实质上是ecmascript在web环境中的实现,还有其他实现(如flash的actionscript等)。因此了解基本的ecmascript相当于掌握javascript的基础。1。ecmascript的基础概念:1)区分大小写2)变量是弱类型(解释型语言的基本特点)3)每行结尾的分号可有可无(与java不同)4)注释的形式与java相同(单行或者块注释)5)大括号代表代码块{}2。变量,使用var定义。如var test="test1"当然,变量是弱类型,并且可以不被初始化而定 ...
- 2007-02-06 14:03
- 浏览 2072
- 博客分类:
- web开发
最近一直在读《javascript高级程序设计》,也快读完了,读到事件这一章,书中提供的一个事件工具类很实用,我注释了一下,并摘记://eventutil.jsvar eventutil = new object;/**//* 此方法用来给特定对象添加事件,otarget是指定对象,seventtype是事件类型,如click、keydown等, fnhandler是事件回调函数/*eventutil.addeventhandler = function (otarget, seventtype, fnhandler) {
- 2007-02-06 13:58
- 浏览 3107
首先需要理解的一点是,dom是针对xml的基于树的api,它的实现有很多(各语言基本都有自己的实现),我们讨论的是javascript中或者说xhtml(html)对dom的实现。
一、使用dom
考虑一个html文件:
测试title>head>
<body>
<p>测试p>
</div>
<div class="blog_bottom">
<ul>
<li class='date'>2007-02-06 11:38</li>
<li>浏览 3276</li>
<li><a href='/blog/57552#comments'>评论(0)</a></li>
</ul>
</div>
</div>
<div class="blog_main">
</div>
</div>
<script>
settimeout(function () {
var naviga_offsettop = 0;
function onload_function() {
naviga_offsettop = jquery("#nav_show_top_stop").position().top;
jquery(window).bind("scroll", naviga_stay_top);
jquery(window).bind("mousewheel", naviga_stay_top);
jquery(document).bind("scroll", naviga_stay_top);
jquery(document).bind("mousewheel", naviga_stay_top);
}
function naviga_stay_top() {
var scrolltop = jquery(document).scrolltop();
if (scrolltop > (naviga_offsettop 250)) {
jquery("#nav_show_top_stop").css({
"position": "fixed"
});
jquery("#nav_show_top_stop").css({
"top": "0px"
});
} else {
jquery("#nav_show_top_stop").css({
"position": "fixed"
});
jquery("#nav_show_top_stop").css({
"top": naviga_offsettop 250 - scrolltop "px"
});
}
}
jquery(document).ready(onload_function());
}, 200);
</script>
</div>
<div id="footer" class="clearfix">
<div id="ad_pop">
<div class="j_adv" data-view="true" data-mod="ad_popu_64" data-mtp="62" data-order="21" data-con="ad_content_2070">
</div>
</div>
</div>
</div>
<script type="text/javascript">
// document.write("<img src='https://stat.iteye.com/?url=" encodeuricomponent(document.location.href) "&referrer=" encodeuricomponent(document.referrer) "&user_id=' width='0' height='0' />");
</script>
global site tag (gtag.js) - google analytics
<script async src="https://www.googletagmanager.com/gtag/js?id=ua-127895514-6"></script>
<script>
window.datalayer = window.datalayer || [];
function gtag(){datalayer.push(arguments);}
gtag('js', new date());
gtag('config', 'ua-127895514-6');
</script>
<script src="//g.csdnimg.cn/common/csdn-report/report.js" type="text/javascript"></script>
<style>
.userinfo {display: none !important;}
.persion_article h3{
background: none !important;
border-bottom: none!important;
padding: 0!important;
margin-bottom: 0!important;
line-height: 1!important;
}
.persion_article .right_box{
margin-top: 0!important;
}
.persion_article .footer_box .feed_new_tit span{
padding-left: 0!important;
}
</style>
<script>
(function($){
var windowheight = $(window).height(),
contentheight = $(".hide-main-content").height()
windowheight = windowheight * 1.2 //获得可视区域高度
if(contentheight > windowheight){
$(".hide-article-box").show()
$(".hide-main-content").css({'height': windowheight,'overflow':'hidden'})
$(".hide-article-box").find("#btn-readmore").click(function(){
$(this).parents('.hide-main-content').removeattr('style')
$(this).parent().hide()
})
}
})(jquery)
</script>
<script type="text/javascript">var $csdn_iteye_jq = jquery.noconflict();// 解决jq与prototype.js命名空间冲突的问题</script>
</body>