Please refer to ...
Posted by Shane10101 on Mon, 04 May 2020 20:38:42 -0700
On the basis of VR module, the parallax is adjusted to change with the distance;
When the left and right screens are divided, the left and right screens need to be compressed 1 / 2 horizontally, because 3D-TV will stretch when merging the left and right format images;
The position of the camera on the left screen has change ...
Posted by happypete on Mon, 04 May 2020 06:20:19 -0700
The static files needed in web development are: CSS, JS, font and picture, which can be accessed through web framework, but the efficiency is not optimal.
Nginx is much more efficient than Web framework in processing static files, because it can use gzip compression protocol to reduce the volume of static files, speed up th ...
Posted by cent on Mon, 04 May 2020 04:54:50 -0700
The bubbling event is to click the child node, which will trigger the parent node and the ancestor node to click the event.
Here is the html code:
Outer div element
<span>Inner span element</span>
Outer div element
Posted by gutogouveia on Sun, 03 May 2020 15:06:10 -0700
1. Get all parameters of url
We can get this part directly through window.location.search, which is the url parameter we need. When the url does not contain?, window.location.search returns undefined.
if(!str || str.indexOf('?') != 0) return false;
var urlValArry = str.replace('?','').split('&');
var ur ...
Posted by hyp0r on Sun, 03 May 2020 10:49:25 -0700
Common features of ES6
let a = 1;
let b = 1;
Posted by Skunkmaster on Sun, 03 May 2020 06:34:42 -0700
Look at it. A series of tutorials on novice ajax : I have a preliminary understanding of Ajax, but I mainly want to use ajax to interact with php in front and back, so I want to realize this idea step by step, because I am not particularly familiar with Ajax, so I write rookie like code, sorry..
After reading the series of novice ajax tutori ...
Posted by Dm7 on Sun, 03 May 2020 01:32:16 -0700
I haven't written CSDN blog for a long time. Today I wrote two at a time. This is the third one. I can't stop at all. Haha, the last one let us know how to call Baidu map to locate. This time, I'll tell you how to call Baidu single point mobile function.
The so-called single point mobile function, in fact, is that Baid ...
Posted by eliezer on Sun, 03 May 2020 01:30:04 -0700
From script house:
This article mainly introduces the use of JS to remove the spaces before and after strings or all spaces. Please refer to the following for your friends:
The code is as follows:
return str.replace(/(^\s*)|(\s*$)/g, "");
If you use jQuery to directly use the $. trim(str) method, str r ...
Posted by codeDV on Sun, 03 May 2020 00:01:51 -0700
A standard ajax
Reader's words: after summarizing the past work, I found that I have made a lot of progress. In order to thank the fans for their support, I will strive to build a boutique blog, change the habit of making comments for myself. Again, I hope you can criticize and correct me. If you have solved your problem, remember to pay a ...
Posted by SoberDude on Sat, 02 May 2020 23:35:41 -0700