The online world is amazing. If special effects are used properly on beautiful pages, they will certainly increase. The following is my summary of special effects:Beating textWant to see the dancing text? Come on!Code: First add 〉Add onLoad = "font1
When I set an iframe to automatically adjust the height, the code of commit. asp embedded on the page is as follows:Copy codeThe Code is as follows: related comments Insert other code on another page to embed this page into other pages. But it does
Menu made by css + div: a main display layer. Other lists are hidden. Use js functions to set the display and hiding of lists. Two functions are used respectively, and the function implementation effect is the same. One is to refer to the examples
CancelBubble is valid in IEStopPropagation is valid in FirefoxCopy codeThe Code is as follows: prevent JavaScript event bubbling (cancelBubble, stopPropagation) This is parent1 div. This is child1. This is parent1 div. This is parent2 div. This
1. What is prototype?The prototype attribute of the object in JavaScript, which can return the reference of the Object Type prototype. This is a pretty straightforward explanation. To understand it, you must first correctly understand the concepts
The overall framework of the effect library and a simple opacity plug-in are attached to the above essay. Today, this essay is mainly used to expand other commonly usedEffect plug-ins, after all, the framework can only be an empty shell, the content
I like to start with the most basic content, and then go deeper. Experts may have to be patient.First look at a simple application. In the following code, we need to implement a function, that is, click each button to display the corresponding
You are welcome to continue with the Javascript advanced tutorial. Before that, we have learned the basic Javascript tutorial. In this phase of study, we will continue to learn the issues that have not been discussed in the last tutorial. I will
Event timing and browser Recognition
With the increasingly rich JavaScript, we can develop more and more complex applications. In the last course, we learned how to use JavaScripts to write Cookies. Today we will learn how to add the timing
You can use attachEvent to bind an event multiple times. This is an important way to resolve the event Function Definition conflict. However, in IE, The this pointer in the function does not point to the bound element, but to the function object. In
In the spirit of free sharing, you can post the code and test and add new functions together. Please refer to the questions raised by netizens, post all the modified versions below and use them as a comprehensive table software.A Brief Introduction
JavaScript has many tips to make programming easier. One of them is the eval () function, which can execute a string as a JavaScript expression. The following is its descriptionEval functionFunction: first explain the Javascript code and then
Another method for writing js found from the Trojan below [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]Copy codeThe Code is as follows:
Write a piece of js for you when you are working on the project. The limit on the number of characters in text is frequently used in actual development. The main problem is the restriction on Chinese characters. The code below solves the problem of
/*************************************** **** JXTree object: reads external xml file data and generates a tree* @ Author brull* @ Email brull@163.com* @ Date 2007-03-27**************************************** ***//** @ Param xmlURL address of the
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