AOKWORLD

May 18, 2009

Position:fixed on IE6

Filed under: Web Develop — Tags: , — A.D.JC @ 11:25 am

Step 1: Inset background:fixed in body.
Step 2: Use expression(offsetParent.scrollTop+offsetParent.clientHeight-400+'px');

body { background:url(imgs/pageBg.png) fixed;}
#menubar {
   	width:100px;
	height:100px;
	position:fixed;
	bottom:0;
	right:0;
	z-index:10000;
	_position:absolute;
	_top:expression(offsetParent.scrollTop+offsetParent.clientHeight-400+'px');
}

[if IE 6] example:

	html{overflow:hidden;}
	body{height:100%;overflow:auto;}
	#fixed{position:absolute;right:17px;}
	/* fixed元素的绝对位置是相对于HTML元素来说,而滚动条是body元素的,这是设置right:17px的原因 */
	#fixed { position:absolute; top:expression(eval(document.body.scrollTop + 50));}

You can:

/* IE7+ FF Other Standard Browser */
html > body #menubar {...}

/* IE6 Only */
* html  #menubar {...}

May 7, 2009

How to understand and use The CSS Framework in project?

Filed under: Web Develop — Tags: , , — A.D.JC @ 9:27 am

Anyone tell me?

November 2, 2008

Web前端开发工程师必备技术列表

Filed under: Web Develop — Tags: , , , , — A.D.JC @ 2:51 pm

以下这篇是我比较认同的一些观点,虽然有提到Photoshop、Fireworks、Flash,但我觉得这都是看情况而定,部分技术只要熟悉了解就好,主要技术就必须精通。 (more...)

Powered by WordPress