Responsive picture carousel -- JavaScript writing

Here we will introduce a set of components of a responsive image carousel written in JavaScript. First look at the UI of the overall page: The specific functions are as follows: 1. When one of the four pictures below the yellow border is located, the large picture above will show the picture where the yellow border is locate ...

Posted on Sun, 09 Feb 2020 12:52:47 -0500 by riffy

Design Mode JAVA-Command Mode

Article Directory 1. Command mode 1.1 Scene 1.2 Command Mode 1.3 Command Mode Applied in Spring Framework JdbcTemplate 1.4 Notes and Details for Command Mode 1. Command mode 1.1 Scene We bought a set of smart appliances, including lighting, fans, refrigerators, washing machines, which we c ...

Posted on Sun, 09 Feb 2020 01:29:34 -0500 by emcb_php

SMB protocol to Http for online video playback

1. Description Why is cold knowledge? Because most projects are not needed, it is classified as cold knowledge. This paper mainly describes how to convert the SMB protocol to the common HTTP protocol in order to use various players to play online.This article and the previous " Use SMB protocol to view computer files or other ...

Posted on Sat, 08 Feb 2020 12:40:27 -0500 by spivey

JS event flow, DOM event flow, IE event processing, cross browser event processing, event object and type

Removal of events removeEventListener() The second parameter needs to specify the event handle to be removed. It cannot be an anonymous function because it is not recognized To remove successfully, the three parameters must be exactly the same as those in addEventListener <!DOCTYPE html> <html lang="en"> <head> <meta c ...

Posted on Sat, 08 Feb 2020 08:46:01 -0500 by Chef-Mars

[Game learning essay 01] challenge task 01

Today is February 6, 2020. Time flies so fast that when I write about time, I will subconsciously write 2019 It seems that the situation of pneumonia in the whole country has further heated up, so that the community where my family is located has issued an order to block the notice, so the travel is no longer as free as before. Anyway, cheer on ...

Posted on Fri, 07 Feb 2020 11:59:56 -0500 by linda_v

python+mysql hands-on small project (add, delete, change and check mobile phone information)

*mysql partI used the db1 database and built two tablesPhone meter -------- store phone informationuser table store account password*python section 1. Connect to the database (connection() function) #Get connection def connection(sql,para): coon=pymysql.connect(host='localhost', ...

Posted on Fri, 07 Feb 2020 11:37:10 -0500 by purtip3154

Record the journey of Windows API to operate the disk

Apocryphal: it's not easy to code. I hope you can indicate the source when quoting. Thank you. I need to realize the following functions for tasks assigned by a job: Get current system drive status Determine disk type Replacement of symbols Mapping disk Now let's see how to use the window api in vs2 ...

Posted on Fri, 07 Feb 2020 04:40:45 -0500 by slj90

Notes on wechat applet development ⑪ -- data cache, data transmission mode, compass, wifi, performance monitoring, accelerometer and clipboard

Data cache Official description https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.setStorageSync.html Each wechat applet can have its own local cache, which can be read, written and cleaned through wx.setStorage/wx.setStorageSync, wx.getStorage/wx.getStorageSync, wx.clearStorage/wx.cle ...

Posted on Tue, 04 Feb 2020 22:58:58 -0500 by patrick99e99

Write classification query

Implement commodity classification query The core of the mall is naturally commodities. When there are many commodities, they must be classified, and different commodities will have different brand information. We need to complete them in turn: commodity classification, brand and commodity developme ...

Posted on Mon, 03 Feb 2020 08:40:43 -0500 by Wildthrust

Vue + vux combat record (axios cross domain)

Recently, the mobile terminal Vue project needs local and background data testing, so it uses axios cross domain request (by the way, the mobile terminal slides to the bottom to load more), and records the following: 1. Install axios first: npm install axios vue-axios --save 2. Configure in main.js: import axios from 'axio ...

Posted on Fri, 31 Jan 2020 09:30:15 -0500 by Jim02