March 3 2009

鼠标经过时FLASH悬停的小技巧

Tags: flash  悬停   2lengzi @ 17:26

把那个移动的图片做成影片剪辑,然后放到场景里面,将它的实例名称改为af
,然后再打开动作面板,输入下面的代码:
onenterframe=function(){
_root.af.onMouseMove=function(){
this.stop();
}
_root.af.onMouseOut=function(){
this.play();
}
}

October 9 2008

css全局定义(1)

Tags: css   2lengzi @ 22:40
/* 全局定义 */
*{ margin:0; padding:0; border:0; font-family: Verdana,Tahoma, Arial,"宋体"; text-align:left; font-size:12px;line-height:150%;}
img{float:left}
.nofloat{ float:none}
div,table{ float:left; width:auto;overflow:hidden;word-wrap: break-word; word-break: break-all;height:auto;}
body{background:url(/template/images/body_bg.jpg) repeat-x #eee }
#headwrapper{ float:none; margin:0 auto 0; border:0; padding:0 13px; width:760px;}
#outerwrapper{ float:none; margin:0 auto 0; border:0; padding:0 13px; width:760px; background:url(/template/images/head_bg.jpg) repeat-x #FFF}
a{color: #333; text-decoration:none;}
a:hover {color:red; text-decoration:none;}
July 7 2008

可点击的下拉菜单

Tags: 下拉菜单  126的简化菜单模式   2lengzi @ 18:17

像126简化下拉,点击后变化内容,只要修改css即可。效果如下:

 

分页:«1»