HTML5 Study Notes-LocalStorage local storage, html5-localstorage
1. Local Storage
Before HTML5 was born, if a website wants to store data on a browser, it can only use cookies, but there are many restrictions on using cookies.
Cookie problems:
1.
Using history to solve ajax does not support forward/backward/refresh, historyajaxPreface:
Currently, both the front and back ends use ajax to interact with the front and back ends. However, ajax has a small disadvantage: it does not support the
The front-end JS calls scan the QR code, and the front-end js calls
Source:
I recently created a project, H5 page, which is opened in the middle. There is a function in it, that is, click the button to pop up the QR code scan.
Project:
There is no
Data Interaction modes of several vue and vue interaction modes
Var that = this
Get request
That. $ http. get ("1.txt"). then (function (result ){
Console. log (result)
This. msg = result. data;
})
Post requests require the environment to send
Css3 + javascript rotating 3d box, css3javascript
Today, I wrote css3, a 3d box written in 3d properties, and used javascript to rotate the box with the mouse.
Today, we brought the new CSS 3 attribute 3d front back top bottom
Bootstrap grid system and bootstrap Grid System
What are the advantages and disadvantages of Bootstrap?Bootstrap is a front-end framework for rapid development of web applications and websites based on html, css, and javascript.Advantage: mobile
Html5 semantic tag details and compatibility processing, and html5 semantic tag details
header
It is mainly used for the introduction of the page header information, or for combining a title, a subtitle, or a combination of slogans on the section
Mobile Terminal layout and terminal Layout
1. the scroll bar is on html by default and is moved to the body.
html{ width: 100%; height: 100%; overflow: hidden;}body{ width: 100%; height: 100%; overflow: auto;}
2. Restore the 1px border
Angular: $ broadcast, $ emit, $ on, And angularemit
File level
Index.html $ broadcast, $ emit, and $ on values of angular go home $ state go main ui-sref go main $ emit $ broadcast $ on click me View
Web Front-end page jump and get the value, web Front-end page Jump
Record
(Jump to page B from page A and assign the value of page B to page A for display)
;)
This is page.
This is page B.
Click Add Log On page A to Go to page B, and upload the
What is the role of Doctype? What are the differences between standard (strict) and weird (mixed) modes ?, Doctype HybridWhat is the role of Doctype? What are the differences between standard (strict) and weird (mixed) modes?The following standard
It's a new action! The QR code exclusive to the applet is released, and the applet is released
In the evening, we were pleasantly surprised. This is not a new capability, but a new form of QR code that everyone is not familiar.
Officially
Use phonegap to create a contact.
Example:
Database Example Create Contact
The above Implementation Method of Using phonegap to create contacts is all the content that I have shared with you. I hope to give you a reference, and I hope
HTML5 LocalStorage the local storage refresh value is still in, html5localstorage
The biggest difference between the two storage technologies of H5 is the lifecycle.
1. localStorage is a local storage with unlimited storage duration;
2.
The img label clearance is solved.
In our normal development process, we often need to use multiple images. When using multiple images, we usually use a list to load our img.
Document
However, we found
JQuery + CSS3 implements a ring progress bar and jquerycss3Implementation Principle
The principle is very simple. In this solution, we mainly use the CSS3transformInrotateAnd CSS3clipTwo attributes. Use them to achieve the semi-circle and rotation
[H5] range object of API, h5apirange object
Range object:Is a fragment (HTML segment) that contains a part of a node or a text node. In general, the page is only possible at the same timeThere is a range, or it may be multiple ranges (use Ctrl Jian
Html5 Geolocation instance for obtaining geographic location information, html5geolocation
Html5 provides an API for obtaining the current location of a user through a browser. Based on this feature, you can develop location-based service
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