2015.4.23 Snake, canvas animation, various upload tools, URL information matching and the most complete front-end questions, etc.

Source: Internet
Author: User

1.Object-oriented snake2, CSS: Hover change the picture page after loading the first mouse move join Flash what is this?

workaround : You make a picture of the two graphs or load the pictures onto the page before hover them out.
resolution : The picture has changed, regardless of speed and speed it has a load time.

3, good Canvas animation tool or game recommendation:

Workaround : Tool Recommendation-1& Tools recommended-2

4. Why does the following code make an error under chrome?
var log = Console.log;log ("test");

workaround : Change to the following code

Log = Console.log.bind (console); log ("test");

parsing : Collection console.log () How to abbreviate to log ()

5. http://127.0.0.1/home.php?mod=space&do=wisdomtreeHow to parse this urlWhether there is a word in it, such as wisdomtree

Workaround :

// gets the delivery information for the name parameter in the URL function getquerystring (name) {var reg =newregexp ("(^|&)" + name + "= ([^&]*) (&|$)", "I"); var reg =new location.search.substr (1). Match (reg); if (r! =null) return unescape (Decodeurl (r[2)); returnnull;}
6, Avatar upload and cut how to implement it?

workaround :Cropper
Note : attached: Baidu upload components \ Drag upload \jquery upload \flash avatar upload \ Animation plugin Tweenmax

7.Full front end interview questions and answers summary

2015.4.23 Snake, canvas animation, various upload tools, URL information matching and the most complete front-end questions, etc.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.