meta http-equiv= pragma content= no-cache meta http-equiv= Cache-Control content= no-cache,must-revalidate meta http-equiv= expires content= Wed,26 Feb 1978 08:21:57 GMT
如何用JQuery的ajax跳轉,可以這樣清理
//ajax請求不緩存
$.ajaxSetup({ cache: false });
MaintainScrollPositionOnPostback= true 如內容超出單元格,則隱藏 > 讓彈出窗口總是在最上面: body onblur= this.focus(); 不要滾動條? 讓豎條沒有: body /body 讓橫條沒有: body /body 兩個都去掉?更簡單了 body scroll= no /body 怎樣去掉圖片鏈接點擊后,圖片周圍的虛線? a href= # onFocus= this.blur() img src= logo.jpg border=0 /a 電子郵件處理提交表單 form name= form1 method= post action= mailto:****@***.com enctype= text/plain
input type=submit /form 在打開的子窗口刷新父窗口的代碼里如何寫? window.opener.location.reload() 如何設定打開頁面的大小 body onload= top.resizeTo(300,200); 在頁面中如何加入不是滿鋪的背景圖片,拉動頁面時背景圖不動 html head STYLE body {background-image:url(logo.gif); background-repeat:no-repeat; background-position:center } /STYLE /head body bgproperties= fixed /body /html
各種樣式的光標 auto :標準光標 default :標準箭頭 hand :手形光標 wait :等待光標 text :I形光標 vertical-text :水平I形光標 no-drop :不可拖動光標 not-allowed :無效光標 help :?幫助光標 all-scroll :三角方向標 move :移動標 crosshair :十字標 e-resize n-resize nw-resize w-resize s-resize se-resize sw-resize
1、控制橫向和縱向滾動條的顯隱? body > body > body scroll= no 不顯 2、表格變色 TD quot;this.style.backgroundColor='#FFFFFF' onmouseout= this.style.backgroundColor='' >3、 禁止復制,鼠標拖動選取 body ondragstart=window.event.returnValue=false oncontextmenu=window.event.returnValue=false
onselectstart=event.returnValue=false 4、 普通iframe頁面 iframe name= name src= main.htm width= 450 height= 287 scrolling= Auto frameborder= 0