We often see that many websites have the scrolling effect on the left or right side. The following small series will introduce you to several good jquery code for Rolling fixed pages, hope to help you all.
Set a main menu on a single page. When the
Delayed image loading is a function that can save bandwidth. The principle is that images in the visible area will be loaded. Next I will introduce the delayed image loading function of WordPress Lazyload, hope to be useful to everyone
Lazyload
Image enlargement means that the image will be zoomed in and displayed when the pointer passes through the image. This effect was previously done in js. Today I will share with you an example of finding a webmaster.
Preparation: learning the animate
In the past, we used flash or php to generate this type of bar chart. Now we recommend you a graph shape table Effect Based on the jquery highcharts plug-in. I hope it will be helpful to you.
As follows:
The source code is as follows:
The
In fact, it is very easy for jquery to press enter to submit data. We only need to check whether the user presses the press enter to directly bind the event. click to implement the submission. On the button, bind the ajax submit form event.
Core
This article will introduce the live binding events and unbinding methods in jQuery. I hope this article will be helpful to you.
One $. fn. live repeat binding
Solution:
Use the die () method to unbind all events bound to the element before binding
In jquery, We need to click the button to hide the tag and display the tag. We only need to bind the specified button or other, so that when I click it, I can call the hide or show function to solve the problem, the following is an example.
This article will introduce all the specified elements hidden in jquery notes. If you need to learn more, please refer to them.
The Code is as follows:
Copy code
welcome to the jquery world! jquery is easy to learn!
In fact, this is a function that uses jquery's focus and blur to bind input to set the default keyword of input. There is no difference with JavaScript, but Javascript is directly written in the input, while jquery can bind it to a better one.
There
We often see many website comments. The Textarea text box can automatically adjust the height according to the text you enter. This effect is very good. Here we will introduce jquery autotextarea to implement this function.
Example 1
The
This is a jquery rolling plug-in written by a webmaster. It supports single image scrolling, multi-image scrolling, text scrolling, and content scrolling.
Requirement Description
Now I need a code for image scrolling. I want the image to be a full
To determine whether an element is hidden in jquery, use $ (\ "# inputID \"). is (\ ": visible \"), of course, if it is other, you can also use other methods to achieve the following I will give you a summary.
JQuery has two visibility-related
This article will introduce you to a jQuery traversal and operation form Element Select, checkbox, and radio instance. jquery provides a lot of functions for us, next I will introduce a few examples of comparing and operating htm controls in
JQuery selector is a very important component of jquery. jQuery selector includes basic selector, hierarchical selection, and filtering selector. I will give an example for each selector.
Basic Selector
The Code is as follows:
Copy code
We will take two steps to get the select value to achieve page Jump. The first is to get the selected value and then pass it to the jump function to achieve the jump. This is how many websites achieve the friendly connection.
JQuery gets the
When you enter the user name, we have a prompt that when you click input, we can delete all the text in input. Let's look at the two instances below.
Jquery uses select ();
Click input of text to directly select all text
The Code is as
In jquery, you only need to use is (": checked") to determine whether checkbox is selected. Let's take a look at an instance and hope to help you.
Is (": checked") is a very useful jQuery method that can quickly determine whether multiple objects
The effect of this article is that the menu button automatically moves when the mouse goes through the menu button. There is a dynamic effect, which is based on the jquery. easing and jQuery animation functions.
Effect
Code sorting
The
JQuery Mobile is a js Code of the Mobile phone segment that supports touch screen functionality. This is also the biggest advantage of jQuery Mobile plug-in, below I have compiled some articles about how to use the jQuery Mobile plug-in.
Touch event
The webpage prompts that the default alert of js will be ugly. If you have a sound, it will suddenly sound awkward and the user experience is very poor, the following is an example of jquery web page prompts.
As needed, I wrote a piece of jQuery
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