Today, I will publish a series of articles to share with you 40 useful jQuery plug-ins.
HTML5 File Uploads with jQuery (Demo | download)
This is a jQuery plug-in that helps you implement the HTML5 file drag-and-drop upload function.
Shuffle Letters
I. Jquery requests data from the aspx pageFront-end page JS Code:Copy codeThe Code is as follows:$ ("# Button1"). bind ("click", function (){$. Ajax ({Type: "post ",Url: "default. aspx ",Data: "name =" + $ ("# Text1"). val (),Success: function
To discard other effects, the simplest carousel has only one statement:Parent. appendChild (parent. firstChild) constantly adds an element in the list to the last one. appendChild removes the node from the original position, so the switchover effect
Because we cannot obtain the size of the entire page and the size of the current page in any way, the only way to create a loading progress bar is to simulate it. How can we simulate it?We know that the page is executed from top to bottom, that is
Copy codeThe Code is as follows:String query = request. getParameter ("query ");MMStock2BudgetLogic bean = new MMStock2BudgetLogic ();String xmldata = bean. statStock2Budget ();%> total purchase expenditure ratio of inventory Points
If this parameter is not added, it seems that only ie6 has encountered problems. See: changed the image address, the image disappears, the style is loaded, but the style file is gone. Just like the download of A resource is interrupted. The correct
First, let's take a look at the effect.
Copy codeThe Code is as follows: 1 2 3 4 5 6 7 8 9 10 The simple method is to convert the select statement into a custom style.Currently, only two parameters can be set.Copy codeThe Code is as
The front of each code segment has function annotations, parameter requirements, and other explanatory text, so it is not difficult to make more comments. To make it clear, make a small directory in sequence:Override window. setTimeout,Understand
Style = "vertical-align: bottom;" No matter what you use, you need to use JavaScript to perform online search. If you find a code and the test fails, the code is too messy to be tested.So write it by yourself.Copy codeThe Code is as follows:$
Check the following code in different browsers:Copy codeThe Code is as follows: test IE8: object, object, undefinedFF8.0: undefined, MouseEvent, undefinedCr16: MouseEvent, MouseEvent, undefinedOpera: MouseEvent, MouseEvent, undefinedSafira:
If you have never used these things, I believe this blog post will be helpful to you. If you have any questions or have bugs, feel free to contact me,At the same time, you are also welcome to give more advice. I do not recommend that you grow up in
Event ModelSpeaking of events, we have to trace the "browser war" between Netscape and Microsoft. At that time, there was no standard for the event model, and the implementation of the two companies was a fact standard. Netscape implements an "event
JQuery provides the. bind (),. live (), and. delegate () methods for binding and delegate events. Based on the internal implementation of these methods, this article demonstrates their advantages and disadvantages and their applicability.Event
Browser model:1. DOM 0th-level model The event handler declares the attribute assigned to the DOM element through the reference of the bar function instance. This is also our most common, such as onclick.Copy codeThe Code is as follows:$ ("Img").
The DOM Document Object Model is an HTML and XML application interface (API). DOM plans the entire page as a document composed of nodes. DOM objects give developers access to HTML, and enable developers to process and view HTML as XML documents. The
The example code is followed by a comment. Here is a small directory:JS Code pre-parsing principle (including three paragraphs );Function-related (including function passing parameters, call methods with parameter functions, closures
Snippet-jQuery Syntax Highlighter
(Demo | download)
Snippet is a great code highlight plug-in that supports 15 popular languages and dozens of color schemes. Cool!
Apple-like Retina Effect With jQuery
(Demo | download)
The apple Retina effect
Exquisite tmplThere are many open-source front-end templates, but the "javascript micro templating" developed by John Resig, jQuery's author, is the most subtle. With just a few clicks, the core functions of the template engine are implemented.See
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