原创文章 以前用百度空间,现在用WP了。不过相对于QQ空间来讲,我还是顶百度空间,百度空间速度相当快,漂亮的模板也多,而且不用钱。相比之下QQ就小气得多了,不说了,言归正传。 最近突然对js来了兴趣,自然少不了拿百度空间开刀啦。 为了防止别人用框架调用它的页面,每页百度都加上了这个: 1234if (top.location != self.location) { top.location=self.location; } 还有一个调整...
30 Exceptional CSS Techniques and Examples
In this article, I’ve pieced together 30 excellent CSS techniques and examples that showcases the capabilities and robustness of CSS. You’ll see a variety of techniques such as image galleries, drop shadows, scalable buttons, menus, and more – al...
30 Exceptional CSS Navigation Techniques
0个不错的CSS导航设计技巧. 1. The Menu menu This another great CSS menu Stu Nicholls that’s unique – hovering over a menu item reveals a submenu. If you want get started with this menu just simple view the source code. Demo in page. 2. Pure CSS hover menu V...
14个关于图像处理的jQuery Plugins
1. s3 Slider s3 Slider Demonstration page. A simple way to add smooth image slideshows and showcases on your website. 2. jQuery Image Strip jQuery Image Strip Demonstration page. Nice little image viewer that uses fancy visual effects. This can be of g...
CSS教程—元素的定位
1. position:static|无定位 position:static是所有元素定位的默认值, 一般不用注明,除非有需要取消继承的别的定位 example: 以下是引用片段: #div-1 { position:static; } 2. position:relative|相对定位 使用position:relative,就需要top,bottom,left,right4个属性来配合,确定元素的位置。 如果要让div-1层向下移动20px,左移40px: example: 以下是引用片段: #...
再探Javascript词法作用域
摘自:http://www.cnblogs.com/mophee/archive/2009/03/15/1412590.html 写在前面的话:每个人都会犯错——有时候‘孰能无过,过而能改,善莫大焉’,有时候知道自己错了却没有机会更改。其实,错了并不仅仅是错了,做错了,除了及时改正和弥补之外,最重要的是为自己犯的错承担所有责任。 2009年3月14日,我去参加网易互动的专场招聘会,应聘网页工程师的职位。有幸参加笔试,然后有幸栽在笔试,呵呵。废话少说,抓出音响极深的一题重新研究研究。 题目大概是:写出...
CSS的常用命名参考[转]
在XHTML中定义ID、CLASS都用得上,主要是方面CSS定义样式时能一眼看穿。所以,CSS命名仅作参考。 (1)页面结构类 容器: container 页头:header 内容:content/container 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外围控制整体布局宽度:wrapper (2)导航类 导航:nav 主导航:mainnav 子导航:subnav 顶导航:topnav 边导航:sidebar 左导航:leftsideba...
Ajax使用POST方法
function getRequestBody(oForm){ var aParam=new Array(); for(var i=0;i
...页面转向代码
页面转向代码 http://hi.baidu.com/dpsc/blog/item/628433292ab01ffc99250a87.html 个人主页免费用户常常在网上寻找域名转向,但是你有没有想过打造自己的域名转向,且看我一一道来! 首先,你要去申请一个免费空间,这样的空间很多,然后把以下的代码保存为你的主页文件即可,主页文件一般为:index.html 、index.htm 、default.html 、default.htm 、index.asp 、index.php 、index.cgi ...




近期评论