html js click on blank space to close custom popup layer

Usually to make a custom drop-down box, the expanded div needs to be closed after clicking any blank area $(document).on(‘click’,function(e){ var _con = $(‘.ztree,.js_ztree’); // Set the target area (check elements that do not need to be closed when clicking) if(!_con.is(e.target)&&_con.has(e.target).length === 0){ $(‘.ztree’).hide() } }) … The post html js closing custom popup layer […]

html js click on blank space to close custom popup layer Read More »

video picture-in-picture (small window)

video picture-in-picture (small window) < video id = “video_paly” controls src = “https://v-cdn.zjol.com.cn/280443.mp4” poster = “https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg” >您的浏览器不支持video 标签。 < / video > < button onClick = { ( ) => { var video : any = document . getElementById ( “video_paly” … The post video Picture-in-Picture (Small Window) first appeared on Lenix Blog . This

video picture-in-picture (small window) Read More »

JavaScript, jQuery’s css method is invalid

I ran into a problem today. Trying to add css attributes to a node through jquery to make it achieve the expected style performance. But it doesn’t work. But in another way. Invalid spelling: //这种写法不生效。 $dom.find(“p.text-p”).css(“-webkit-line-clamp”,3) ; //或$dom.find(“p.text-p”).css({“-webkit-line-clamp”:3}) ; Effective spelling: //此处这个3,可以是个变量。 $dom.find(“p.text-p”).attr(“style”, “-webkit-line-clamp:” + 3); Note that in this case, the css() method does

JavaScript, jQuery’s css method is invalid Read More »

How to replace strings in js

The method of string replacement in js: 1. Use regular expression, the syntax is [str.replace(“string to be replaced”, “new string”)]; 2. Use conventional replacement method, the syntax is [ str.replace(/string to be replaced/g, “new string”)]. Related graphic recommendation: js tutorial The method of string replacement in js: Two methods: regular & regular str.replace(“string to be

How to replace strings in js Read More »

Evening News: Global gender equality will take 132 years

Original link: https://sehseh.substack.com/p/132 Good night, In recent years, Mattel, a toy company that has been committed to expanding Barbie’s diverse image, announced that the latest heroine of its “Inspiring Women Series” doll is Jane Goodall, a famous British biologist and animal conservationist , to commemorate her love for chimpanzees. Contributions to research and conservation work.

Evening News: Global gender equality will take 132 years Read More »

Record yourself | 2022.07.14

Original link: https://www.bgbiji.com/1059.html 1. The biggest tragedy of a person is the refusal to grow and mature. 2. Don’t jump to conclusions about anything unless you see it all. 3. Do what you need to do, and do it as well as you can, and leave the rest to your fate. 4. We can deceive

Record yourself | 2022.07.14 Read More »

Amazon makes concessions to EU, hopes to end antitrust probe by year-end

Visit the original URL The European Union’s antitrust regulator, the European Commission, said today that Amazon has offered not to use seller data for its own retail business and made other concessions to end the European Union. antitrust investigation. Amazon also promises to treat sellers’ Buy Box offers equally. The Buy Box allows consumers to

Amazon makes concessions to EU, hopes to end antitrust probe by year-end Read More »

JD.com: Completing the mandatory acquisition of China’s logistics assets and delisting China’s logistics assets from the Hong Kong Stock Exchange

Visit the original URL Pinwan, July 14th, according to the Financial Associated Press, the Hong Kong Stock Exchange of Jingdong Group announced that since the effective acceptance received by Jingdong Zanfa has exceeded the specified threshold, Jingdong Zanfa chose to exercise its rights, and the compulsory acquisition has not yet been approved by JD.com. China

JD.com: Completing the mandatory acquisition of China’s logistics assets and delisting China’s logistics assets from the Hong Kong Stock Exchange Read More »

12 brokerages disclosed the first half of the performance forecast: 7 net profit fell by more than 50%, 5 pre-loss

Visit the original URL According to the Titan Media App on July 14, as of now, 12 listed securities companies or securities companies listed entities have disclosed their performance forecasts, including Harbin Investment , Northeast Securities , Jinlong , Southwest Securities , Tianfeng Securities , Huaxi Securities , and Zhongyuan Securities . , Orient Securities

12 brokerages disclosed the first half of the performance forecast: 7 net profit fell by more than 50%, 5 pre-loss Read More »

National Energy Administration: From January to June, the electricity consumption of the whole society increased by 2.9% year-on-year

Visit the original URL Titanium Media App reported on July 14 that the National Energy Administration released data on the electricity consumption of the whole society from January to June. From January to June, the total electricity consumption of the whole society was 4,097.7 billion kWh, a year-on-year increase of 2.9%. In terms of different

National Energy Administration: From January to June, the electricity consumption of the whole society increased by 2.9% year-on-year Read More »

Xi’an: Strengthen the supervision of pre-sale funds for commercial housing and strict payment standards

Visit the original URL Titanium Media App reported on July 14 that five departments including Xi’an Housing and Urban-rural Development Bureau jointly issued a notice on measures to prevent the delayed delivery of commercial housing. Down payment, house purchase loan and all other forms of house payment) shall be directly deposited into the special supervision

Xi’an: Strengthen the supervision of pre-sale funds for commercial housing and strict payment standards Read More »

Xiaokang shares: pre-loss in the first half of the year from 1.6 billion to 1.76 billion

Visit the original URL The production and sales of new energy vehicles hit a record high, driving the prosperity of the lithium industry to rise, and the story of lithium industry companies’ wealth creation continues. Judging from the results and performance forecasts announced one after another, the profits of many listed companies soared in the

Xiaokang shares: pre-loss in the first half of the year from 1.6 billion to 1.76 billion Read More »