1. When setting Div top, left must be set together. Otherwise, the object disappears, indicating that the layer postion is set to fixed.
Document. getelementbyid ("mydiv"). style. Top = 10 + "PX ";
Document. getelementbyid ("mydiv"). style. Left = 10 + "PX ";
This problem is not solved in chrome testing.
2. Obtain the height and width of the part being viewed on the page.
Ie8can only use document.doc umentelement. Height/width
Chrome can use window. innerheight/innereidth or
3. mouse pointer
You can add a URL to the custom mouse pointer under ie. cursor: URL ("Move. cur ");
Add autocursor: URL ("Move. cur"), auto;
4. Dynamic Output in the JavaScript Address Bar (when any webpage is opened, enter javascript: void (function () {}) () in the address bar to execute a section.Code)
For example, if you want to output a layer to write document. Write directly, nothing will be displayed.
You can only use VaR OBJ = Document. createelement ("Div ");
OBJ. Style settings