首页 | DV动态 | 数码产品 | 视频采编 | 网站建设 |
【收藏DV】
  最近3月排行
·四款模型核心差异:deepseek、千问、kimi、豆包对比及人群适配
·SRTTrail.txt 与Windows启动失败及系统还原
·Shunyu Yao姚顺雨AI下半场 博客
·【linux学习】
·docker 学习笔记
·BOM成本-相关概念
·音乐中的基本速度术语,kimi3 会员等级解释
·《原子习惯》工作手册的精华总结
·CPU那些事英特尔篇之第十四代酷睿
·酷睿时代:南北桥变成PCH
·CPU那些事英特尔篇之第十五代酷睿
·CPU那些事英特尔篇之第十三代酷睿
·CPU那些事英特尔篇之第十二代酷睿
·CPU那些事英特尔篇之第八代酷睿
·CPU那些事英特尔篇之第六代酷睿
·CPU那些事英特尔篇之奔腾4
·CPU那些事英特尔篇之第十一代酷睿
·CPU那些事英特尔篇之第九代酷睿
·CPU那些事英特尔篇之第七代酷睿
·CPU那些事英特尔篇之第十代酷睿
阴影菜单
2004/11/20 20:26:19
 
100W超级小便携式笔记本充电器,两个type-c和一个USB接口,同时可以手机充电。 【3C认证】苹果超薄Magsafe磁吸充电宝快充外接迷你5000毫安移动电源适用于iPhone16可上飞机


阴影菜单

<script>
var global = window.document
global.fo_shadows = new Array
function makeRectangularDropShadow(el, color, size)
{
var i;
for (i=size; i>0; i--)
{
var rect = document.createElement('div');
var rs = rect.style
rs.position = 'absolute';
rs.left = (el.style.posLeft + i) + 'px';
rs.top = (el.style.posTop + i) + 'px';
rs.width = el.offsetWidth + 'px';
rs.height = el.offsetHeight + 'px';
rs.zIndex = el.style.zIndex - i;
rs.backgroundColor = color;
var opacity = 1 - i / (i + 1);
rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
el.insertAdjacentElement('afterEnd', rect);
global.fo_shadows[global.fo_shadows.length] = rect;
}
}
</script>
<style>body,td,div,a,input{font:menu;line-height:180%}</s

tyle>
<div id=menu style="position:absolute; left: 10px; top:

10px; background: #EEEEEE; width: 200px; height: 100px;

padding: 3px; border: 1 #999999 solid; cursor: default">

<div style="border: 1 solid #EEE"
onmouseover="this.style.background='#CCC';

this.style.borderColor='#999'"
onmouseout ="this.style.background='#EEE';

this.style.borderColor='#EEE'"
>shadow Menu</div>

<div style="border: 1 solid #EEE"
onmouseover="this.style.background='#CCC';

this.style.borderColor='#999'"
onmouseout ="this.style.background='#EEE';

this.style.borderColor='#EEE'"
>shadow Menu</div>

<div style="border: 1 solid #EEE"
onmouseover="this.style.background='#CCC';

this.style.borderColor='#999'"
onmouseout ="this.style.background='#EEE';

this.style.borderColor='#EEE'"
>shadow Menu</div>

<div style="border: 1 solid #EEE"
onmouseover="this.style.background='#CCC';

this.style.borderColor='#999'"
onmouseout ="this.style.background='#EEE';

this.style.borderColor='#EEE'"
>shadow Menu</div>

<div style="border: 1 solid #EEE"
onmouseover="this.style.background='#CCC';

this.style.borderColor='#999'"
onmouseout ="this.style.background='#EEE';

this.style.borderColor='#EEE'"
>shadow Menu</div>

<div style="border: 1 solid #EEE"
onmouseover="this.style.background='#CCC';

this.style.borderColor='#999'"
onmouseout ="this.style.background='#EEE';

this.style.borderColor='#EEE'"
>shadow Menu</div>

</div>

<script>
makeRectangularDropShadow(document.all["menu"],

"#666666", 4);
</script>

(DVOL本文转自:中国DV传媒 http://www.dvol.cn)

 

  上一篇:梦幻合并式菜单
  下一篇:用CSS做圆角表格
      更多...
::打印本页 ::      ::关闭窗口::


版权所有© 数码在线网站 DV OnLine©  鲁ICP备12016322号-1