Summarize the JS code snippets and browser models related to AJAX in. net development, making full use of free controls is good, but if you cannot modify the controls to meet your needs, you need to use the JS method, the premise is to study the
Js implements web page detection to check if other plug-ins of Flash Player are installed. just change the sID.
Script function testPlugin () {sID = "{D27CDB6E-AE6D-11cf-96B8-444553540000}" with (info) {addBehavior ('# default # clientcaps') info.
Very good javascript Image lower-layer effect
nereidFadeObjects = new Object (); nereidFadeTimers = new Object (); function nereidFade (object, destOp, rate, delta) {if (! Document. all) return if (object! = "[Object]") {// do this so I can take a
TextContent is equivalent to innerText in Firefox in IE and Opear. DOM objects support the innerText attribute and can easily remove HTML tags.
However, Firefox does not support this attribute. Fortunately, DOM objects in FF support textContent,
JS script obfuscation and encryption to discuss new year's weather! Study a special issue that you are concerned about. Be sure to speak enthusiastically if you are interested.
First of all, I have introduced myself.
"Obfuscation" or "encryption"
This article describes in detail the complete jquery processing mechanism. if you are interested, you can refer to using the jQuery selector not only to use the traditional getElementById () and getElementsByTagName () functions are much simpler and
Script effects for displaying welcome information in the status bar
Script 100) {seed-= 2; var cmd = "Helpor_net (" + seed + ")"; timerTwo = window. setTimeout (cmd, speed);} else if (seed 0) {for (c = 0; c script [Ctrl + A Select All Note: If
The basics of dojo assume that our project directory is as follows:
-- HelloWorld.html| -- Js/-- Dojo // * This is the file under the dojo package. the list is as follows: -- build.txt -- CHANGELOG -- demos -- ..
[Js + css] click hide layer. clicking another layer cannot hide the original layer. Use a global variable to Save the Last opened object.
Script var old = null; function changemenu (myp) {var obj = document. getElementById (myp); if (old! = Null &
Lazy to the end-automatic mouse clicking (including time judgment) is actually completed before the beginning, this time slightly improved
Http://www.healdream.com/upload/html/autoclick.html address:
The code is as follows:
Untitled
How does Prototype use hash. js? 7.1.1 a Hash object (associated array) is a new Prototype object. to create a Hash object, you can call the $ H (object) method, because of the characteristics of javascript itself (the object itself is an associated
Improvement: automatic insertion of Forum UBB code. Currently, when the UBB of the IECN Forum is automatically inserted, the inserted content is always added to the end of the article, which is inconvenient to use. I just improved it.
Improved code
When is document and document. all used?
123456 [Ctrl + A Select All Note: If you need to introduce external Js, you need to refresh it to execute]
If the name attribute is set in the html tag corresponding to a, form object, image object,
Ad display judgment
Detection advertisement display judgment function seen from Sina
The code is as follows:
ScriptPagepubtime = "2006-08-31 ";// Ad display judgmentFunction checkPubTime (){// Year, month, and dayDateTime = new Array
This article mainly introduces the MVC structure design concept of the Backbone. js framework of JavaScript. compared with Angular. js, the Backbone with the same MVC structure is much lighter. if you need it, you can refer
What is Backbone.
This article describes how to simulate the screen-cutting effect slide of a jQuery 360 browser. it involves jQuery's skills for responding to mouse events and dynamically operating the page element styles. the demo source code is provided for
In the object-oriented programming, the queue and stack methods are generally provided. for JS, we can implement array-related operations, to implement the queue and stack functions, see the following introduction.
Learning cause
Once upon a visit
This article mainly introduces jQuery's function of controlling the rotation angle of an image and the function of controlling the image rotation by dragging the slider below. it involves jQuery's technique of performing dynamic conversion of page
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service