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=wisdomtree
How to parse this
url
Whether 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.