flask tool to build automatic test platform 9-order application

9 - ordering application Main contents: bootstrap Account management image.png The latest version of this article bootstrap Bootstrap is an open source framework from Twitter, which provides user interface components to create simple and attractive web pages and is compatible with all current web browsers. reference materia ...

Added by Cell0518 on Tue, 31 Dec 2019 10:33:50 +0200

canvas realizes the effect of spider web dynamic background

Let's talk about the effect first (funny) https://jc1144096387.github.io/canvas_nest/ The first time I saw this special effect, I was shocked. I played it silently for a few minutes = =. Unfortunately, that website only has compressed code, and the background special effect of search connection can only find similar ones. The ...

Added by marco839 on Fri, 27 Dec 2019 18:15:33 +0200

DOM of JavaScript Foundation (3)

lookup HTML element var x=document.getElementById("main"); var y=x.getElementsByTagName("p"); var x=document.getElementsByClassName("intro"); HTML DOM document.getElementById(id).innerHTML=New HTML document.getElementById(id).attribute=New attribute value CSS DOM document.getElementById(id).style.property=New style HTM ...

Added by ntjang on Thu, 26 Dec 2019 21:38:12 +0200

Getting started with Vue.js: making a minimalist to do application from scratch

Writing time: December 10, 2019Version information: Vue.js 2.6.10Official documents: https://cn.vuejs.org/ Preface One of the best ways to learn about Vue is "check out Vue.js's Official documents Take a look at the "basic" part. It's better to eat with this article. Before you start writing code, first go BootCDN Find the link ...

Added by pandu345 on Wed, 25 Dec 2019 11:49:21 +0200

SrervletContext and file download

ServletContext object Lifecycle (it can be seen from the lifecycle that this is a global object) Created when the project starts Destroyed when the project is closed Concept: represents the entire web application and can communicate with the program's container (server). Obtain Get through the request object: request.getServletContext(); G ...

Added by janhouse00 on Tue, 24 Dec 2019 20:28:33 +0200

Front end learning notes-8.4 data interaction

Ajax: asynchronous JavaScript and XML, using JavaScript to execute asynchronous network requests If you want users to stay on the current page and send out new HTTP requests at the same time, you must send this new request with JavaScript. After receiving the data, you can use JavaScript to update the page. In this way, users wi ...

Added by misterfine on Sun, 22 Dec 2019 19:07:01 +0200

JQuery obtains the specified contents of multiple tags at the same time and stores them as an array

In web development, we often encounter the problem of getting the same type of tag, such as the following two cases When it is necessary to obtain the specified value of the same label in batch, the newcomer will encounter a little trouble For example, demo with id=problem1 var list1=$("#problem1").children();//Get to problem1 Array of object ...

Added by jdwmk on Sun, 08 Dec 2019 17:13:51 +0200

One design pattern per day · agent pattern

Agent mode · original address More design patterns tutorials More free tutorials Blogger's note: one design pattern per day aims to initially understand the essence of the design pattern. Currently, it is implemented in two languages: javascript (eat on this) and python (pure like). Sure, there are many ways to implement each design pa ...

Added by samyl on Fri, 06 Dec 2019 12:39:22 +0200

Vue learning Road Part 11: set class style for page elements

1. class is an attribute of the page element. According to the content in the previous chapter 5, the operation attribute needs to be specified by v-bind (or simply:). 2. Let's start with a simple page style: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=d ...

Added by leeroy1 on Thu, 05 Dec 2019 06:53:07 +0200

js downloads the picture through the blob class file object, and modifies the saved name of the picture (compatible writing method)

Question: download pictures through a tag, only Google and Firefox support it When downloading pictures through iframe, the names of pictures cannot be modified. Solution: 1. Because the image address is cross domain, it must be converted to base64 data stream first 2. Then convert base64 to blob object 3. Then determine ...

Added by Tryweryn on Wed, 04 Dec 2019 02:07:33 +0200