七彩学习笔记

欢迎来到QicaiSpace's Blog,这里主要探讨平面设计,网页设计,网站建设和网络营销,FLASH多媒体方面的知识。

« 给Flash初学者的几点建议网页制作经典技巧24条(2) »

网页制作经典技巧24条(1)



提示:使用前请把大写状态下"<>"改为小写状态下的"<>"
  01.让背景图不滚动
  IE浏览器支持一个 Body 属性 bgproperties,它可以让背景不滚动:
  〈Body Background="图片文件" bgproperties="fixed"〉
  02.让你的网页无法另存为
  <noscript><iframe src=*></iframe></noscript>
  03.让IFRAME框架内的文档的背景透明
  <iframe src="about:<body style=‘background:transparent‘>" allowtransparency></iframe>
  04.禁止右键:
  <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()">
  05.进入页面后立即自动刷新?
  <meta http-equiv="refresh" content="120;url=http://www.wodutom.com/cn083">
  http://www.wodutom.com/cn083,这是你自己的网址。
  06.打开窗口即最大化
  <script language="JavaScript">
  <!-- Begin
  self.moveTo(0,0)
  self.resizeTo(screen.availWidth,screen.availHeight)
  // End -->
  </script>
  07.能隐藏IFRAME的滚动条吗?我知道的三种方法:
  1. 设置iframe scrolling="no"
  2. 被包含页body应用overflow:hidden
  3. 被包含页的body标签加scroll="no"
  08.加入背景音乐
  <bgsound src="mid/windblue[1].mid" loop="-1"> 只适用于IE <embed src="music.mid" autostart="true" loop="true" hidden="true"> 对Netscape ,IE 都适用
  09.嵌入网页
  <iframe name="tt" src="01a.html" width="450" height="287" scrolling="Auto" frameborder="0"></iframe>
  10.跳转
  <meta http-equiv="refresh" content="3;URL=list.htm">

日历

最新评论及回复

最近发表