/**
* Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative
* value Smack tries the absolute value and all following until it finds an open port.
...
分类:
其他好文 时间:
2014-09-07 03:18:54
阅读次数:
250
/**
* Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative
* value Smack tries the absolute value and all following until it finds an open port.
...
分类:
其他好文 时间:
2014-09-07 03:18:44
阅读次数:
207
单页or多页webapp现状优劣之分网络传输优化综述fake页-首屏加速降低请求数降低请求量缓存Ajax/localstorageDOM操作优化综述关于页面渲染减少使用定位属性(fixed/absolute)奇技淫巧内存资源优化体验优化区域滚动点击响应结语单页or多页本文仅代表个人观点,不足请见谅,...
分类:
移动开发 时间:
2014-09-03 21:14:37
阅读次数:
347
position属性规定元素的定位类型这个属性定义建立元素布局所用的定位机制。任何元素都可以定位,不过绝对或固定元素会生成一个块级框,而不论该元素本身是什么类型。相对定位元素会相对于它在正常流中的默认位置偏移。值描述absolute绝对定位生成绝对定位的元素,相对于 static 定位以外的第一个父...
分类:
其他好文 时间:
2014-09-02 22:50:35
阅读次数:
230
<html>
<head>
<meta?http-equiv="content-type"?content="text/html;charest=gb2312"/>
<title></title>
<style?type="text/css">
<!--
.d{
position:absolute;
top:25px;
right:20px;
left:25px;
bottom:20...
分类:
其他好文 时间:
2014-09-02 21:31:55
阅读次数:
252
使用如下css可以使div永远保持在屏幕正中
.log {
position:absolute; /*绝对定位*/
top:50%; /*距顶部50%*/
left:50%;
margin:-100px 0 0 -150px;...
分类:
Web程序 时间:
2014-09-01 22:51:03
阅读次数:
200
varmask="<divid=‘m‘></div>";varloading="<divid=‘loadingDiv‘style=‘‘><imgsrc=‘../../theme/blue/p_w_picpaths/blue/loading-blue.gif‘></img>主备切换中.......</div>";$("body").prepend(loading).prepend(mask);$("#loadingDiv").cs..
分类:
编程语言 时间:
2014-09-01 19:47:04
阅读次数:
381
一、让层显示在flash之上
解决办法:给FLASH设置透明或者
二、使一个层垂直居中浏览器中
解决办法:使用百分比绝对定位,与外补丁负值的方法。
.代码
{position:absolute;
top:50%;
left:50%;
margin:-100px auto auto -100px;
...
分类:
Web程序 时间:
2014-09-01 17:46:05
阅读次数:
293
HTML 1 .menu{ 2 position:absolute; 3 width:200px; 4 background:#eee; 5 border:1px solid #ddd; 6 ...
分类:
编程语言 时间:
2014-08-29 17:36:48
阅读次数:
342
之前做了一个删除线的效果,就是类似这样的,在内容的中间加一条线。但是又有点不同的是,这种删除线不是单纯的在文字之上,而是给一个Table中的一行加上这种删除线效果。这里有两个方法,是在不同时期写的,第一个有些缺陷,第二个在第一个基础上要好很多,目前没有发现什么缺..
分类:
Web程序 时间:
2014-08-29 16:18:18
阅读次数:
189