Front-end question-Add a thousand-bit separator for the number in js, and add a thousand-bit Separator in js
One method is:
Function test (str ){Var iNum = str. length % 3;Var prev = '';Var iNow = 0;Var temp = '';Var arr = [];If (iNum! = 0 ){Prev =
H5 small content (4), h5 content
SVGBasic ContentSVG does not belong to HTML5 proprietary contentHTML5 provides native content about SVGBefore HTML5 appeared, there was SVG content.SVG is simply a vector graph.The extension of the SVG file is ". svg"
10 easy-to-use websites that everyone can use,1. Add alternative text for logo
There are two advantages: screen readers can recognize the meanings of logo images. When images are not loaded, they can also tell non-visually impaired users that their
Exquisite jQuery plug-in and source code front-end development benefits, jquery benefits
JQuery is a very good javascript framework. Many front-end developers prefer jQuery because of its many plug-ins, we can apply these plug-ins to our own
A must-have for gorgeous HTML5/jQuery animations and application front ends,
In Web applications, jQuery is often used to implement some simple animation effects, such as gradient effects during menu drop-down and fade-in and fade-out effects during
What you don't know about html5 and html. Article 3: What about html5?
Introduction:
I believe everyone is familiar with html5, but what is its true significance in specific development? What new definition and concept does html have? Why do some
Use native Canvas to write and solve snakes and problems.
To learn Canvas, I wrote this little game for myself and everyone to learn.
Github: https://github.com/zhiyishou/Gsnake
Play On: http://zhiyishou.github.io/Gsnake
Games:
Preface:
To
HTML5 + J2EE Implement Asynchronous file upload,
P.S. HTML5 was officially promoted after 8 years of hard work by W3C. The biggest part of this upgrade is to upgrade XMLHTTPRequest to XMLHTTPRequest Level II (what's strange about this ?). This
Html5 and css3 3D scrolling effects, html5css33d scrolling
Today, we bring you a 3D rolling effect implemented by html5 and css3. As follows:
Download Online Preview source code
Implementation code.
Html code:Html code
Note 3 of mobile Web Front-end efficient development practices-code check task,
During project development, the unified code style is very important for project collaboration and maintainability. Therefore, some plug-ins can be used to check the
Canvas Study Notes 1: basic understanding, canvas Study Notes
A label defines a canvas that allows you to draw 2D and 3D images on a webpage. Now you need to learn how to draw 2D images first, drawing 3D images is the content of WebGL (that is,
Canvas implements the matrix of black guest empire Rectangles and canvas black guest empire rectangles
In the blog Park, I saw che da bang and wrote an article about implementing the matrix of the matrix. I think canvas still has some wonderful
Vue2 source code browsing and Analysis 01, vue2 source code 01
1. constructor Vue $3
Function Vue $3 (options) {if ("development "! = 'Production '&&! (This instanceof Vue $3) {warn ('vue is a constructor and shoshould be called with the 'new'
Install and use the front-end tool Sublime Text 3, sublimetext
Sublime TextIs a code editor, known as a front-end development artifact.
Sublime Text 3: http://www.sublimetext.com/3
After the installation is complete, follow these steps:
To manage
HTML5 custom player (simplified) and html5 simplified
This is a self-contained html5 tag , which is very practical. There are many benefits to using this tag (I will not talk about the benefits, For details, refer to Google, Bing, Baidu ).
The main
Use the HTML5 devicemotion event to give your mobile phone a shake lottery, annual lottery, and html5devicemotion
Shake JS script logic:The next step is the implementation of JS script logic on the mobile end. The implementation of shaking requires
Explore angularJS series and explore angularjs
What is AngularJS? Concept? Features? Advantages? Disadvantage? That's not the case. If you don't talk much about it, You can directly start O (∩) O ~~
Install
1. download and install the official
Responsive design and response design
1. What is responsive design?
Responsive design is to perform operations and layout based on user operations and device environments during website development, so that the website can intelligently adjust the
Basic tutorial on postMessage API in HTML5, html5postmessage
About postMessage
Although window. postMessage is html5, it supports IE8 +. If your website does not need to support IE6 or IE7, you can use window. postMessage. About window. postMessage,
Draw a circular multi-angle Pattern Based on html5, and draw a multi-angle Pattern Based on html5
Let's take a look at the simplest:
The Code is as follows:Copy the content to the clipboard using JavaScript Code
Var canvas = document.
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