Section 13: understanding BOM
I BOM
Browser object model: browser object model refers to browser related js operations Usually window xxxx
1. Get browser height
1. Both width and height include the width of the scroll bar 2. This is the width and height of the browser, not the page
console.log( window.innerWidth) // Browser width
console.log( window.innerHeight )// Br ...
Added by akkad on Thu, 16 Dec 2021 22:55:12 +0200
vue Development Notes 15
https://panjiachen.github.io/vue-element-admin-site/zh/guide/ Template download https://www.typora.io/ Software download
Vue
vue instance
El: the div element taken over by vue can only take over one. It can be considered as a vue box
data: data
methods: methods
v-show and v-if
If the condition of v-show is False, a property of display=no ...
Added by NixNod on Thu, 16 Dec 2021 21:41:24 +0200
javaWeb learning notes --- Html
HTML
Html is a hypertext markup language. It stipulates its own syntax rules to express richer meaning than "text", such as pictures, tables, links and so on. At present, most web pages on the Internet are written in HTML.
Structure of html
<!DOCTYPE HTML>
<!--Document declaration-->
<html>
<!--Labels, elemen ...
Added by RobReid on Thu, 16 Dec 2021 21:06:11 +0200
JavaScript advanced object
1. Object classification in javascript
1. Custom object 2. Built in objects 3. DOM object 4. BOM object
1. Custom object
Self created objects are custom objects
When we need an object, but javascript does not provide it, we need to define the object we need by ourselves
There are two basic ways to create custom objects
1. Create an object ...
Added by Danny620 on Thu, 16 Dec 2021 16:46:30 +0200
Part I cross tab communication
introduction
In the browser, we can open multiple Tab pages at the same time. Each Tab page can be roughly understood as an "independent" running environment. Even global objects will not be shared among multiple tabs. Sometimes, however, we want to be able to synchronize page data, information, or status between these "independ ...
Added by sonofsam on Thu, 16 Dec 2021 12:26:29 +0200
Using HTML, CSS and JS to achieve simple snow effects
๐ Author home page: Hai Yong ๐ About the author: ๐ CSDN high-quality creators in the whole stack field ๐ฅ HDZ core group members ๐ Fan benefits: ๐ Fan group ๐ Send 6-9 books a week and various small gifts from time to time( Previous award records)
Jump straight to the end Go to the review area to get the book
Many little friends in t ...
Added by aerodromoi on Wed, 15 Dec 2021 11:14:32 +0200
CSS self finishing
1, CSS introduction method
1. External style sheet โ
The so-called external style sheet refers to putting the CSS code and HTML code in different files separately, and then using the link tag in the HTML document to reference the CSS style sheet. Syntax:
<link rel="stylesheet" type="text/css" href="File path" />
rel is the abbr ...
Added by mohson on Wed, 15 Dec 2021 05:54:41 +0200
Python Implements Crawling Baidu Pictures
Take Baidu-Discover Colorful World as an Example
1. First thing to do is to analyze the website
Enter the Baidu Pictures website page as follows:
You can see that the pictures we want to crawl appear in the picture and we can download them directly, but is it too time-consuming to download one by one? So let's F12 into the developer option ...
Added by sunder on Tue, 14 Dec 2021 20:15:54 +0200
Introduction, details, experience and understanding of openlayers
1, What are openlayers and what are the similar libraries
Official website OpenLayers - Welcome
openlayers is a library that displays and interacts with maps and geospatial data. In short, it is to draw a map, draw graphics, copy, or calculate relevant data on the map.
Similar libraries: Baidu map, Gaode map, cesium; openlayers, Baidu and Ga ...
Added by rks on Tue, 14 Dec 2021 12:09:20 +0200
Web programming foundation R course experiment 2021 Taiyuan University of Technology
Experiment 1 HTML Basics
1, Experimental purpose
1. Master common HTML language tags; 2. Use the text editor to create HTML documents and make simple form pages.
2, Experimental environment
Computer, Windows operating system
3, Experimental content, source code and running results
Experiment content:
1. Enter the following HTML code ...
Added by jambroo on Fri, 10 Dec 2021 14:57:45 +0200