The Win8 interface is very cool, but sometimes the operations are slightly redundant. The following describes some common shortcut keys that can greatly improve your operation efficiency, these shortcut keys seem to be a lot of but don't have to be
1. Benefits of pre-loading
Increase the speed of opening the page and improve the user experience.
2. Disadvantages
Added useless requests.
3. Implementation
View code
1 FunctionPreload (URL, callback ){2VaRIMG =NewImage ();3IMG.
Win8 can be logged on only after you enter the password each time. It is safe and always troublesome. Now we can teach two simple tricks to achieve automatic Win8 logon, which is much easier than other methods such as modifying the registry. Start
Turn from fade ink: http://www.mifengtd.cn/articles/mastery-journey.html
Mastery journey is a journey of mastering a non-native skill. Whatever your talent, you can choose this journey. It focuses on the process rather than the goal, it has no real
1. Create a project
Select "new"-"project" to open the new project dialog box.
Visual C # language-Silverlight for Windows Phone-Windows Phone application
Select Target Platform
Generate a project
2. Layout
The generated project interface has two
I. Low Efficiency
Many people feel that they are very busy and busy, so they are always unable to take care of things. When I was at law school, I often needed to stay up late to review or catch up with my homework. But I had a friend, s.h, who
1. For non-animated GIF images, we recommend that you replace them with png8;
2. Photoshop is better and smaller than fireworks;
3. CSS Sprites image matching technology.
Image optimization tools: http://www.cnblogs.com/wangziwangluo/archive/2010/
1. Create an object through JSON
2. New object first, and then add attributes and Methods. Disadvantages: a large number of repeated codes will be generated.
var people = new OBject();people.name = "aaaa";people.getName = function(){ alert('get
1. What is margin?
Margin is used to control the spacing of space around elements and visually achieve the purpose of spatial interval. It has a margin relative to the previous element. Used to separate elements from elements. Always transparent.
2.
Prototype is extended based on native objects, including object, function, String, number, array, and date. Objects, functions, and strings are analyzed before, and number, array, and date are left.
The number method is relatively small. There are
The advantage of chained calling is that the Code is concise and easy to read, reducing the repeated use of the same variable multiple times. The most common is in the jquery library, for example:
$ ('# Id'). Show (). Hide ();(Of course, this call
When I read the sizzle code today, there is such a section:
// Here we check if the JavaScript engine is using some sort of// optimization where it does not always call our comparision// function. If that is the case, discard the hasDuplicate value./
This is a simple record.
Create a nested node, let the outer node generate a scroll bar, and then use offsetwidth-clientwidth to obtain the scroll bar width. To avoid page jitter, you can set the outer element position: absolute and visibility:
Main processes and regular expressions are segmented
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;
This regular expression is long and mainly used
The search entry corresponds to the sizzle. Find method,Sizzle. Find = function (expr, context ){}Expr: Search expressionContext: search range
Find stepsStep 1: Judge the main set. The method is described and matched in sequence. The order is id -->
Element filtering is the most complex part of sizzle.Basic Form
Sizzle. Filter = function (expr, set, inplace, not ){}Expr filter expressionSet candidate setInplace modification in situNot whether to take the supplement set
Note: Set transmits a set
Document directory
Example
Suggestions
User Guide
Summary
In-depth source code
Before reading this article, let's take a look at W3C's section about web database:
Beware. This specification is no longer in active maintenance and the
Place the template file in the C: \ Users \ DYJ \ Documents \ Visual Studio 2010 \ Templates \ itemtemplates \ Visual C # directory. However, a name conflict occurs, you need to modify the default name in the template settings.
(Forward) just copy
[1. The most basic pop-up window Code]Program code:Because this is a piece of javascripts code, they should be placed between the . are used for some earlier browsers, and the code in the labels is not displayed as text in these old browsers. This
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