Start of continued write, continued write
When I first went to college, I learned the PS and other image production software, followed by the HTML database and Java PHP. I learned a lot and I was not proficient in front-end learning, I started to
A web Front-end optimization attempt and a WEB optimization Attempt
Today, I optimized the loading speed of a designer interface in my own project, because the page loading is a little slow. First of all, I tested yslow in firefox and pagespeed in
The secret of the anchor
What is Anchor?
Previously, I thought:An anchor is an a tag such as href = "# id" or "# name". It is mainly used to quickly locate elements on a page and implement the functions of bookmarks or directories.
Later, I changed
Js calls webservice to construct SOAP for authentication. webservicesoap
The example in this article shares with you the content about how to construct SOAP for authentication by calling webservice in js, and clear comments for your reference. The
Introduction to the use of the BootStrap model pop-up box, bootstrapmodel
Previously, we explained how to use the bootstrap tab. Today we will take a look at the use of the model pop-up window in bootstrap.
Effect:
Code:
× Modal header
Js converts the capital amount of RMB, and js converts the capital amount of RMB
The examples in this article share the code for converting the js implementation amount to uppercase for your reference. The details are as follows:
Function
Analysis of the checked attribute of jquery and checkbox, jquerychecked
1. After the page is loaded successfully, click to select or deselect the checkbox. The checked attribute in the checkbox attribute does not change based on whether or not the
String invert _ JavaScript, reverse _ javascript
Today, I asked freeCodeCamp a question about string inversion. Reversing a string is one of the common questions in JavaScript. Maybe the interviewer will give you a string "Hello Word !", Let you
Location. hash tips for saving page status, location. hash page
The hash attribute is a readable and writable string that is the anchor part of the URL (starting from ).
Syntax
Location. hash
In our project, there are a large number of pages for
A quick solution to onclick and onblur conflicts: onclickonblur conflicts
There is an ajax drop-down box in the search box on the Sina homepage. We need to implement an item in the drop-down box to change the value in the search box to this item. At
Summary of common methods for JavaScript Math objects, javascriptmath
Math. abs (x): returns the absolute value of a number.
Math. ceil (x): rounded up
Math. floor (x): round down
Math. max (x, y): Maximum Value
Math. min (x, y): Minimum value
Summary of common methods for JavaScript String objects, javascriptstring
The string is unchangeable. The string method does not change the content of the original string, but returns a new string.
CharAt (): returns the character at the specified
JS Function Code collection, js Code collection
1. Simulate fade in () and fade out ().
Principle: setInterval ("opacity ++ transparency" function, time interval)
Var alpha = 0; function play () {timer = setInterval (function () {alpha + = 2;
Js achieves div drag on the page, and jsdiv drag on the page
This article describes how to drag a div on a page using js. We will share this with you for your reference. The details are as follows:
tips: welcome to
Call of various java methods in DWR, and call of DWRjava Methods
DWR is a framework. Simply put, it can directly call java methods in javascript without having to write a lot of javascript code. It is implemented based on ajax and can achieve no
Understand js closures in one minute, and JavaScript closures in one minute
What is a closure?First look at a piece of code:
Function a () {var n = 0; function inc () {n ++; console. log (n) ;}inc (); inc () ;}a (); // The console outputs 1 and
Front-end performance optimization and tips and performance optimization skills
Preface why Optimization of performance is so important to front-end engineers
I don't know if you have heard of anything in the industry, 'The performance consumption
Implementation Process of window in jquery custom plug-in development, jquerywindow
In this example, the pop-up window effect is implemented: If you feel that the effect is good, continue reading.
1. jquery. show. js
/** Developer: lzugis *
JavaScript code for smooth and seamless scrolling, and JS seamless scrolling
In this article, we implement the rolling advertisement effect in pure JS mode.
Show the finished product first:
First, webpage style:
#demo { background: #FFF;
Js allows you to preview uploaded images in a timely manner, while js allows you to preview uploaded images.
The example in this article shares the code for implementing the javascript image preview function for your reference. The specific content
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