您的位置:首页 > 其它

网页设计中常用到的一些技巧

2007-05-21 13:48 621 查看
设置wmode参数让flash透明


<param name="wmode" value="transparent">

设置menu参数屏蔽flash右键菜单(设置和关于是屏蔽不掉的)


<param name="menu" value="false">

地址栏前的图标设置


<link rel="Shortcut Icon" href="favicon.ico">

收藏夹中的图标设置


<link rel="Bookmark" href="favicon.ico">

页面定时跳转


<META http-equiv="REFRESH" content="5;URL=http://blog.csdn.net/lixianlin/">

禁止复制


<body oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()">

关闭窗口


<a href="#" onClick="window.close()">关闭窗口</a>

E-mail链接设置


<a href=mailto:E-mail地址1,E-mail地址2?cc=抄送地址&cc=密送地址&subject=预设的主题&body=正文内容>显示的链接文字</a>

自定义光标




<style type="text/css">...body {...}{cursor: url('mouse.ani')}</style>






<style type="text/css">...A {...}{cursor: url('mouse1.cur')}</style>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: