Browser Compatibility Solution--2

Reprinted from - Nuggets - white nickname Click Open Link  - Sharper disseminates knowledge Normalize.css Different browsers have different default styles, which can be smoothed out with Normalize.css. Of course, you can also customize reset.css, which belongs to your business. <link href="https://cdn.bootcss.com/normalize/7.0.0/normal ...

Posted by Love_Daddy on Thu, 16 May 2019 01:43:13 -0700

Glide 4 Parsing Series: See Glide 4 for source code

The last article talked about the basic functions and uses of Glide4.x. If you don't know Glide4, you can check out the previous article. Glide 4 Parsing Series (1): How to Use Glide Today's article is an analysis of Glide4 from the source point of view. The core of Glide's basic usage in the last article is just one sentence: Glid ...

Posted by Sprout on Wed, 15 May 2019 19:12:35 -0700

JCombobox implements retrievable drop-down lists in java Swing

This is to be implemented by yourself. Here's a demo code for you. You can modify it yourself. /*  Among many Windows applications, IE's address bar is the most common one. When we're in ComboBox's text box content, we can see that Its drop-down list automatically lists the most matched items and displays the most matched item ...

Posted by israfel on Sat, 11 May 2019 02:27:09 -0700

Front End Basic Learning - CSS Header Fixed

There are two main reasons why it is difficult to fix a header with pure CSS.One is that IE6, which has the largest market share, does not support position:fixed.Another is that people want to do this in tables where they want to break their heads.But real foreigners have achieved this with pure CSS, using an astonishing number of CSS hacks... ...

Posted by slpctrl on Fri, 10 May 2019 14:24:36 -0700

BOM - Browser Object Model

1. The JavaScript component: ECMAscript (Core Standard): Defines basic grammar, such as if for array strings. 2.BOM: Browser Object Model 2. Components of BOM: 1. Each subwindow of a window object corresponds to another window object.2. screen object3.location object4.history object5.Navigator object6. Timers (two)7. Bullet Frame (Three Kinds)8 ...

Posted by Runilo on Fri, 10 May 2019 08:40:39 -0700

Template Variables and Template Filters

1 Template Path Configuration and Search Template paths are configured in settings.py of configuration files in two ways: DIRS defines a list of directories, which the template engine searches in list order to find template source files. The templates folder is under the project and directory. APP_DIRS informs the template engine whether it ...

Posted by macpaul on Fri, 10 May 2019 01:16:41 -0700

Event Model of JS Project

There are 1960 words in this article. It takes only 8 minutes to finish reading. Event Users interact with web pages through events. Events were initially used as a means of sharing server load. At first, there was no uniform specification. Until DOM2 level, Netscape and IE began to have their own API specifications. For the triggering mechan ...

Posted by rhysmeister on Thu, 09 May 2019 08:46:38 -0700

Regular check collation

1. Check basic date format var reg1 = /^\d{4}(\-|\/|\.)\d{1,2}\1\d{1,2}$/; var reg2 = /^(^(\d{4}|\d{2})(\-|\/|\.)\d{1,2}\3\d{1,2}$)|(^\d{4}year\d{1,2}month\d{1,2}day $)$/;   2. Verify password strength The strength of a password must be a combination of upper and lower case letters and numbers. No special characters can be used, and the ...

Posted by reneeshtk on Thu, 09 May 2019 06:03:38 -0700

Summary of web uploader uploading large files

Due to business needs, large files need to be uploaded, and existing versions can not handle IE version. After investigation, Baidu's webuploader supports IE browser and calculates MD5 value, which can realize the function of seconds transmission. Large file upload is mainly divided into three parts, pre-upload, block upload, and combined uploa ...

Posted by rj2kix on Thu, 09 May 2019 01:36:40 -0700

Django's Main Page Extraction

After the registration and login are scribbled, the main part of the platform is written below.Forget the password and restore the password part to fill in at the end of perfection. Home Page Layout Similarly, because of the lack of front-end code, this time we choose a free open source page. In learning, I will find a lot of short ...

Posted by IWS on Wed, 08 May 2019 10:45:38 -0700