Some of the small Methods Commonly Used in html pages can be viewed by those who make web pages. This is really good. InAdding tags
How to Use JQuery's ajax jump, you can clear it like this
// Ajax requests are not cached
$. AjaxSetup ({cache: false
});
MaintainScrollPositionOnPostback = "true"
If the content exceeds the cell, it is hidden.
Style = "TABLE-LAYOUT: fixed"
Make the pop-up window always at the top:
Do not scroll bars? Make the vertical bar not:
Make the horizontal bar unavailable:
Remove both of them? Simpler
How can I remove the dotted line around the image after clicking the image link?
Email processing submission form
In the opening Child Window, how does one refresh the code of the parent window? Window. opener. location. reload ()
How to set the page size
How to add a background image that is not full?
Various styles of cursor auto: Standard cursor
Default: Standard arrow
Hand: hand-shaped cursor
Wait: waiting for the cursor
Text: I-shaped cursor
Vertical-text: horizontal I-shaped cursor
No-drop: Do not drag the cursor
Not-allowed: Invalid cursor
Help :? Help cursor
All-scroll: triangle direction indicator
Move: move mark
Crosshair: Cross Label e-resize n-resize nw-resize w-resize s-resize se-resize sw-resize
Local ip address <% = request. servervariables ("remote_addr") %>
Server name <% = Request. ServerVariables ("SERVER_NAME") %>
Server IP <% = Request. ServerVariables ("LOCAL_ADDR") %>
Server port <% = Request. ServerVariables ("SERVER_PORT") %>
Server time <% = now %> IIS
Version <% = Request. ServerVariables "SERVER_SOFTWARE") %>
Script timeout <% = Server. ScriptTimeout %>
Path of this file <% = server. mappath (Request. ServerVariables ("SCRIPT_NAME") %>
Server CPU count <% = Request. ServerVariables ("NUMBER_OF_PROCESSORS") %>
Server interpretation engine <% = ScriptEngine & "/" & ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion
& "." & ScriptEngineBuildVersion %>
Server Operating System <% = Request. ServerVariables ("OS") %>
Text vertical layout
Move the hyperlink to the dotted border
Add onfocus = "this. blur ()" to the link ()"
Insert a keyword in the Webpage Search Header
Favorites icon
My computer
File: //: % 7B20D04FE0-3AEA-1069-A2D8-08002B30309D}
Network neighbors
File: //: % 7B208D2C60-3AEA-1069-A2D7-08002B30309D % 7D
My Documents
File: //: % 7B450D8FBA-AD25-11D0-98A8-0800361B1103% 7D
Control Panel
File: //: % 7B20D04FE0-3AEA-1069-A2D8-08002B30309D % 7D/: % 7B21EC2020-3AEA-1069-A2DD-08002B30309D}
Recycle Bin
File: //: % 7B645FF040-5081-101B-9F08-00AA002F954E % 7D
Control the image hiding effect with the mouse
Add the following code to the <body> area:
15. Add it to the HEAD
Disable caching
16. Transparent background of documents in the IFRAME framework
17. Open a window to maximize
31. loading videos in flash
On (release)
{
LoadMovie ("1-01.swf", "_ root. loaderclip ");
}
32. image form buttons
33. CSS definition method for Left and Right shadow backgrounds
Body {
Text-align: center;
Background-repeat: repeat-y;
Background-position: center;
Background-image: url (../images/bg.jpg );
}
34. Move the mouse over the link
Style = "cursor: hand"
35. How to close the Layer
Close Layer
36. Close the window script
[Close the window]
37. If the text is too long, the excessive text will be displayed as a ellipsis.
For example, a line of text is long, and a line in the table cannot be displayed.
38. Automatically maximized upon entering the home page
Script
Self. moveTo (0, 0)
Self. resizeTo (screen. availWidth, screen. availHeight)
Script
39. Sunken text
How are you doing?
Don't you want to try it?
40. Run the code box
Script
Function Preview ()
{Var TestWin = open ('');
TestWin.doc ument. write (code. value );}
Script
Run
41. link the table
42. Make the pop-up window always on the top
43. CSS text shadow
. Shadowfont {FILTER: dropshadow (color = #666666, offx = 1, offy = 1, positive = 1); FONT-FAMILY: ""; FONT-SIZE: 9pt; COLOR: # ffffff ;}
44. Back & close the window
Back: javascript: history. back (1)
Close: javascript: window. close ();
45. Table transparency
Style = "FILTER: alpha (opacity = 72 )"
46. How to prevent others from placing your webpage in the framework