script
-
CSS Hack of IE8 and other browsers CSSHack of IE8 and other common browsers two thousand and eleven five thousand five hundred and seventy-nine -
Optimization Skills of CSS Style Sheets 1、 Using CSS abbreviations using abbreviations can help reduce the size of your CSS files and make them easier to read. Please refer to Summary of Common CSS Abbreviation Syntax for the main rules of css abbreviation, which will not be described here. 2、 Clearly define the unit, unless the value is 0 and forget to define the unit of size is a common mistake for CSS novices. In HTML, you can only write width=100, but in CSS, you must give an accurate unit, such as width: 100px/width: 100em. There are only two exceptions two thousand and eleven five thousand three hundred and one -
JQuery in my eyes Like me, you should have a deep feeling about jQuery, a lightweight js framework, because it makes our work easier and makes the code structure clearer. However, it also has a negative impact. If you use more, your own js ability may decline, which also varies from person to person. In order to enhance my understanding of jQuery and experience the code style of Master John Resig, I have a good look at the source code of jQuery today two thousand and eleven five thousand seven hundred and ninety-four -
Solve the problem of Chinese garbled code in MySQL database In MySQL Front, the: charset: UTF-8Unicode (utf8) collation: UTF8_general_ci source code file code is set to UTF-8, and the content of the database is displayed normally on the web page, but when you use MySQL Front to view the content of the database, all the Chinese content in the database is garbled. In the console mode, the contents of the viewed database are also garbled two thousand and eleven six thousand eight hundred and forty-six -
JS achieves very gorgeous gear effect JS achieves very gorgeous gear effect two thousand and eleven eight thousand four hundred and seventy-four -
Stay time script on this page This page dwell time script two thousand and eleven five thousand four hundred and twenty-six -
JAVASCRIPT judges password strength JS determines password strength two thousand and eleven six thousand eight hundred and twenty-five -
Commonly used anti copy code for web pages The best anti copy code 1: (Paste this code into the body to effectively prevent the selection, anti copy and right mouse button) two thousand and eleven sixteen thousand five hundred and thirteen -
Non negligible z-index attribute The parameters of the z-index attribute in CSS: z-indexauto | numberauto: default value number: unitless integer, which can be negative. In pages with absolute positioning layers, sometimes you are troubled by layers. In CSS, the z-index attribute can solve this problem. The larger the value of z-index, the more it will be displayed on the top. It is applicable to positioning elements (position: relative or absolute). It is used to determine whether the element is perpendicular to the two thousand and eleven ten thousand eight hundred and seventeen -
Make the div display on the top after clicking With Javascript, divs can be displayed on the top after being clicked two thousand and ten eleven thousand four hundred and seventy-nine -
Three ways to make a link click only once Method 1: Use Javascript to make href "#" after clicking the link and make tag empty. Method 2: Use Javascript to delete the href attribute after the link is clicked, so that the link becomes text. Compatible with IE6, IE7,IE8,Firefox,Opera,Safari,Chrome。 Method 3: A way to set the href value and target value two thousand and ten eleven thousand and seventeen -
JS Teku Advanced Web Calculator JS Teku Advanced Web Calculator two thousand and ten six thousand five hundred and seventy-three -
Share the focus map in the Flight theme (based on JQ) There is nothing to say about this focus map. There are too many online. But I haven't found a suitable one. This is an upgraded version of the Dreamy theme, although it looks exactly the same. In fact, many extensions have been made to optimize the structure and JS part. You can select three animation modes (left and right scrolling, up and down scrolling, fade in and fade out). The execution time can be set. The size can be customized for easy application. You can choose whether to switch automatically. You'd better write the code. There's nothing to say two thousand and ten eight thousand two hundred and four