Recently, I have been developing SOSO maps. I have learned how to draw circles on the maps.
Preface: I have recently developed SOSO maps and encountered circle-related knowledge. I would like to record it briefly.
1. Add SOSO map API reference on
For js, you can use setAttribute to set tag attributes and getAttribute to get tag attributes. in jq, you can also implement similar functions, the method must be much simpler than js. Next we will introduce the implementation method. If you are
GRaphael is a Javascript library designed to help developers draw various exquisite charts on webpages, you only need to write a few lines of simple code to create exquisite bar charts, pie charts, point charts, and graphs. Interested friends can
In the IE browser, a resize event is executed multiple times, which is a widely recognized problem in IE6 and IE7. This problem varies with the browsers of the two versions, generally, IE6 is worse than IE7. Next we will introduce the solution. For
This article mainly introduces how to use the context menu of the JS component BootstrapContextMenu. If you are interested, you can refer to the application of a small component of bootstrap today. Okay. Let's get started.
1. ContextMenu
This article describes how to set, delete, and delete cookies in jQuery. It analyzes how to set, retrieve, and delete cookies in the form of a complete instance, for more information about how to set and delete a Cookie in jQuery, see the following
Recently, some plug-ins have been used in the project to create pages. Here we will share the use of jQueryUI, hoping to help new users. Download jQuery UI with source code at the end of the article
2 For My use
2.1 Tabs
2.2 Accordion
2.2.1 use
The div movement of this test case has a problem. Because it is the first time to use the jsfiddle website, I am not very familiar with it. I hope that you can give me some guidance on the specific principles, paste the Code directly.
Html code:
Div drag and drop made by multiple methods, which is simple and practical, including jquery method, js general method, js object-oriented method
The Code is as follows:
Drag
The main content of this article is to explain the implementation code of the image corridor-gallery. If you need it, refer to create the jquery. gallery. js plug-in file and build the program skeleton.
The Code is as follows:
(Function ($ ){$.
JQuery. extend function usage in detail. If you are studying jquery, you can refer to Jquery's extension method. extend is a common method in the process of writing plug-ins. This method has some heavy-load prototypes. Here, let's get to know about
Only the HTMLElement in IE has the clearAttributesmergeAttributes method. They are non-standard ones. clearAttributes ()
This method is used to clear all user-defined attributes. As follows:
The Code is as follows:
Division
Script
Var p =
Ajax is commonly known as refreshing a new logon or refreshing a local logon, which improves the user experience, the article tells you about the returned data based on jqueryajax usage and instance 2. The Ajax framework for users without refreshing
The following small make up will bring you a DIV rolling with the scroll bar to implement the Code [recommended ]. I think it is quite good. Now I will share it with you and give you a reference. Let's take a look at the small editor. I remember it
Click a button on the page to disable it and display the countdown. The default value is 3 seconds, and the code is very simple.
The Code is as follows:
Test count down button
When a function is used as a parameter of other functions and is called independently, the writing method is different. The former does not need to append (), while the latter must add ()
The Code is as follows:
Untitled document
JQueryUI is a WebUI code library officially supported by JQuery. It contains underlying interaction, animation, special effects, and other APIs, and encapsulates some Web widgets ). At the same time, JQueryUI inherits the support of jquery plug-ins.
The jquery-based textarea release box limits the number of words to input (add Chinese recognition). For more information, see the following:
The source code is as follows:
The Code is as follows:
This section describes how to dynamically change the URL value of the hyperlink control by selecting the RadioButtonList value, and briefly introduces the differences between bind and live methods. 1. Prepare the interface code first:
The Code is
At the recent annual meeting of the company, there was a lucky draw. A simple, pure jq code was shown in a close-up. I shared it with you for a moment, but the source code could not be passed. The special post html
The Code is as follows:
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