<a href="#" style="cursor: se-resize">se-resize</a><br> <a href="#" style="cursor: sw-resize">sw-resize</a><br> <a href="#" style="cursor: s-resize">s-resize</a><br> <a href="#" style="cursor: w-resize">w-resize</a><br>
<a href="#" style="cursor: text">text</a><br> <a href="#" style="cursor: wait">wait</a><br> <a href="#" style="cursor: help">help</a><br> </body>
怎样不使用页面的缓存?即每一次打开页面时不是调用缓存中的东西
<META. HTTP-EQUIV=" ragma" C>
页面打开时自动弹出一个窗口的代码怎么写? HTML 代码片段如下: <html> <head>
<title>Untitled Document</title> <meta. http-equiv="Content-Type" c> <script. language="<B
style="color:black;background-color:#A0FFFF">javascript</B>"> <!-- function
MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features); } //--> </script> </head>
<body bgcolor="#FFFFFF" text="#000000" > </body> </html>
如何让我的页面出现一个会讲话的小人?Merlin HTML 代码片段如下: <HTML> <HEAD>
<TITLE>默林</TITLE>
<META. http-equiv=Content-Type c> </HEAD> <BODY>
<p><OBJECT id=sims classid=CLSID 45FD31B-5C6E-11D1-9EC1-00C04FD7081F> </OBJECT> <SCRIPT> var MerlinID;
var MerlinACS;
sims.Connected = true;
MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS);
Merlin = sims.Characters.Character(MerlinID); Merlin.Show();
Merlin.Play("Surprised"); Merlin.Speak("大家好"); Merlin.Play("GestureLeft"); Merlin.Think("我是默林!"); Merlin.Play(" leased"); Merlin.Think("可爱吗?"); Merlin.Play("GestureDown"); Merlin.Speak("哈哈!"); Merlin.Hide();
function LoadLocalAgent(CharID, CharACS){ LoadReq = sims.Characters.Load(CharID, CharACS); return(true); } </SCRIPT> </p> <p> </p>
<p>看此效果必须装有office2000!!!</p> </BODY> </HTML>
在页面中如何加入不是满铺的背景图片,拉动页面时背景图不动 HTML 代码片段如下: <html><head> <STYLE>
body {background-image:url(logo.gif); background-repeat:no-repeat; background-position:center } </STYLE> </head>
<body bgproperties="fixed" > </body> </html>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
background-repeat:no-repeat; 是讓背景圖不占滿整個頁面
body bgproperties="fixed" 是拉動scroll時背景圖不動
文本输入框什么属性能实现不可输入?
HTML 代码片段如下:
<input type="text" name="textfield" disabled> 或者
<input type="text" name="textfield" readonly>
如何禁止自己的页面在别人的框架里打开? 把以下代码加至你的<head>区 <script>
if (window.top!=self){
window.top.location=self.location }
</script>
如何实现首页全屏幕显示? HTML 代码片段如下: <html>
<body><script. language="<B
style="color:black;background-color:#A0FFFF">javascript</B>"> var coolw=642 var coolh=400 var
coolhuang=window.open("http://www.77cn.com.cn","coolhuang","width="+coolw+",height="+coolh+",
fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0")
window.close()
</script></body></html>
如何监听一个窗口被关闭了? HTML 代码片段如下: <body >
如何禁止Ctrl+N? HTML 代码片段如下: <body
nkeydown=return(!(event.keyCode==78&&event.ctrlKey))>
如何把页面加入用户的收藏夹? HTML 代码片段如下: <a href="<B
style="color:black;background-color:#A0FFFF">javascript</B>:window.external.AddFavorite(‘‘‘‘http://www.77cn.com.cn‘‘‘‘,‘‘‘‘无忧脚本‘‘‘‘)">收藏无忧脚本</a>
如何在我的页面中加入背景音乐?
IE: <bgsound src="*.mid" loop=infinite> NS:<embed src="*.mid" autostart=true hidden=true loop=true>
*.mid你的背景音乐的midi格式文件