The example of this article describes the automatic loading page function implemented by jquery. Share to everyone for your reference, specific as follows:
Demo.html:
--------------- read who asked you to chant, water fall fragrance floating
This example describes the Scrollto usage in jquery. Share to everyone for your reference, specific as follows:
navigation
content
The effect chart is as follows:
scrollto: Smooth scrolling to page
This article illustrates the simplest effect of jquery's switching graph. Share to everyone for your reference, specific as follows:
simplest switch diagram
The Operation effect chart is as follows:
More interested
The example in this article describes the custom pop-up layer effect of jquery implementation. Share to everyone for your reference, specific as follows:
DIALOG.CSS:
#DialogBySHFLayer {width:100%;
height:100%;
left:0;
top:0;
Because the jquery validation form validation plug-in is applied to the project, to implement the form after validation verification, and then disable the button.
CodeProject has a disablebtnpostback project, but can not be combined with jquery
Copy Code code as follows:
get value:
number
last name
first name
2
xing
ge
3
xingad
gead
4
xingxing
ge
number
last name
first name
Next we write a few JS code to achieve this
> Well, the theme of the hanging time is long enough, it should be changed, and then find out if there is a theme of appetite.
> say, recently a little biased to PHP, I found can chew, so I went back to the theme, (*^__^*) Xi hee.
1. The call to
A friend who has used Sina Weibo has an impression of its avatar editor. But others are made of flash.
In a project, also used the same thing, originally wanted to use Sina Weibo, but it has a part of the request path written to flash inside, so had
. Clearqueue (): Remove all functions that are not yet running in the queue
The Clearqueue () function is similar to stop (true), simplifies stop (true), and stops () is used primarily to terminate the animation after 1.4, while the terminating
Convenient setup functions
Most set value pairs of jquery1.4 methods can set the second parameter to be a callback function. For example:. CSS (),. attr (),. Val (),. html (),. Text ().
This is a very abstract view of the example
jquery-based locking pop-up layerThis thing is also readily summed up, citing a number of JS framework jquery method.
The way div obscures other controls refers to the Wmode variable value of the Flash control set to transparent when you need to
The DOM structure is also a tree structure, and the tree selector provided by jquery can be used to select the nodes in Dom trees. The methods of these tree selectors include: children (), parent (), parents (), Next (), Prev (), siblings ().Select
Copy Code code as follows:
var arr1 = ["A", "B", "C", "D", "E"];
$.each (arr1, function () {
alert (this);
});
Output: A b c D E
Copy Code code as follows:
var arr2 = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
$.each (arr2, function
Copy Code code as follows:
var arr1 = ["One", "two", "three", "four", "five"];
$.each (arr1, function () {
alert (this);
});
Output: One two three four five
Copy Code code as follows:
var arr2 = [[1, 2, 3], [4,
Program codeWindow.onload = function () {...}.To access the elements of an HTML document, you must first load the Document Object Model (DOM). When the Window.onload function executes, it shows that everything is loaded, including images and banners,
In fact, my original plan is to do the web designer, but no one thinks I design good, elder brother to now have no work, vent, don't say more.
Effect chart
Pictures to use:
Background picture:
Progress Display Picture:
Web page structure:
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