annoying.
Therefore, unlike this:
$('#item').click (function () {// stuff here});
It is better to add one more sentence:
$('#item').click (function () {// stuff herereturn false;});10. Additional tips-cheat sheet and reference documents
This suggestion does not directly increase the execution speed of functions. However, if you are willing to spend time on this and study these tips and reference documents, you will save a lot of time in the future.
Please take a copy at your hand for quick ref
lose its availability! Experience: at the beginning of development, you always design your website based on no JavaScript, and then proceed.
Progressive Function EnhancementAnd carefully change your layout.
11. Do not pass the string to "setInterval" or "setTimeout"
Take a look at the following code:
Copy content to clipboardCode:
setInterval("document.getElementById('container').innerHTML += 'My new number: ' + i", 3000);Not only is execution not
组,输出各自名称for(var i = 0, len = array.length; i console.log(array);}
10. Try Progressive Enhancement
Be sure to remember to provide an alternative to JavaScript-not-enabled scenarios. You might think, "most of my visitors have JavaScript enabled, and I don't have to worry about it." In that case, you would be mistaken!
Have you ever tried to see what your pretty sliders are like when you disable JavaScript? (You can download
Web Developer ToolBarFinish the task with ease. After disabling you
Download
Abjornsson Logo Design AppreciationAlena st. James boutique DesignChantal Sanchez boutique Image DesignChip Allen poster Layout DesignChristinacreative boutique Design
Enjoy Denise weekley Art and DesignDesign literate cover Poster DesignFabioOverview of Carvalho Interface DesignFirebelly DesignJeffrey baese boutique DesignMichaelHofler Logo Design A
design, we develop, here has always been the quality of the article
A List Apart Network Design blog time in another pillar site, a variety of members provide a very good article.
Site point is very diverse sites, graphic design, css,ajax ....
The Rissington Podcast outstanding design site to the outstanding
Text design is the foundation of web design, text design Web Design
Well, what is the secret of web design?
This is a difficult question and a question that may have no answer. In 2006, Oliver Reichenstein wrote Web Design is 95%
Login is one of the most important functions of a website and the portal for users to use the website functions. The more important the function is, the more you need to consider during the design. For example, how to arrange the user and password input so that users can enter the password more conveniently, how to Design the login button to make it easier for users to click, and where the password retrieva
Article Description: the UI should follow the three major web design principles.
Touch-first design, responsive design, and mobile priority design are the three principles that the UI designer should follow in order to make the site adapt to a wide range of equipment. In the foreign language "Designing the
Web design is a constantly changing field, so mastering the latest trends and technical trends is very important to designers, whether it is learning new technology, or looking for free resources and tools, design blog is a very good place. This article recommends 15 very good design blogs to you.1. Smashing MagazineSmashing Magazine, founded in 2006, is one of t
. Web sites can help you build a reasonable mix of knowledge and skills in specific areas. The main teaching contents of the website are as follows:
Html/css
Javascript
iOS development
Ruby
The site offers more than 30 courses and more than 1700 sets of code challenges. The website provides a fee of 29 dollars per month.
5. tuts+
Tuts+ website offers video tutorials and text tutorials to teach v
understanding the main idea of building your first website.
Website Beautification –css
If you have mastered HTML and you are trying to find some CSS tips, I will recommend some similar resources to you. W3Schools offers 2 separate tutorials, first outlining how to build a standard CSS class on your site – these will include fonts, colors, titles, links, and single navigation dishes.
Web Design tuts+
are too sorry for you.
Vitamin Vitamin is a site for web designers, programmers, and bosses to provide resources, and 50,000 subscribers are a good showcase of his strength.
Ways We design, we develop, here has always been the quality of the article
A List Apart Network Design blog time in another pillar site, a variety of members provide a very good article.
site Point is very diverse sites,
Today, we have sorted out some of the latest Web design and development resources, all of which are from popular sites outside China, but you should be familiar with them and put them here for your favorites, read and learn as needed!
Address: http://www.goodfav.com/resources-for-learning-web-design-development-16460.htmlW3 Schools-MORE INFO
W3schools is your first stop in learning HTML and CSS, here you w
This article gives you a brief introduction of the three most commonly used design patterns in PHP: Single-instance design patterns, factory design patterns, and observer design patterns. Are some of the personal experience of the summary, I hope that small partners can like
This article is to learn PHP commonly used
Android Material Design-Creating Apps with Material Design (use Material Design to Design Apps)-(0), materialandroid
Reprinted please indicate the source: http://blog.csdn.net/bbld_/article/details/40400031
Preface
This article is the first official material design document
3.1 main contents of the outline designDifferent system types its outline design content is not the same, through the outline design guidelines we can determine the specific content of the outline design, but generally speaking, the content of the outline design can include the system architecture, module division, Sys
A balance between user experience design and lean design to experience lean Design
What's more important to you: is it to create products with a killer user experience to attract users? Or is it possible to create products that can satisfy users and seize a large market share as soon as possible?
If the user experience of a product is poor, the user will not use
Why do you want to learn design patterns
Getting started with software architecture and design is about understanding and mastering design patterns.
Design patterns have become a "standard term" for software developers
Learning Design Patterns is a shortcut to personal impr
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.