web front end
-
Intelligent floating layer positioning solution When the page scrolls and the smart floating layer begins to fade out of the browser window, it floats on the top edge of the browser window. This effect is common on major websites in China, such as Sina Weibo and Taobao. Implementation principle: The default state is the default state, and you don't need to do anything. It's OK to locate it as absolute or static two thousand and twelve twelve thousand and seventy-eight -
rgba for background color of IE7&IE8 RGB color mode (also translated as "red, green and blue", which is rarely used) is a color standard in the industry. It obtains various colors through the changes of red (R), green (G) and blue (B) color channels and their superposition, RGB is the color representing the three channels of red, green and blue. This standard covers almost all the colors that human vision can perceive. It is one of the most widely used color systems at present two thousand and twelve thirteen thousand one hundred and ninety-three -
The Method of Zblog to Realize Automatic Pagination of Long Articles The automatic pagination of this long article provides two pagination methods: first, the number can be set according to the number of characters in the article, but there is a disadvantage that if a picture happens to appear at the pagination place, it will be interrupted, and the following content cannot be displayed. The advantage is convenient, suitable for lazy people two thousand and twelve ten thousand eight hundred and twenty-five -
The method of Zblog calling the latest articles in the secondary directory The method for zblog to call the latest articles in the secondary directory is as follows: Step 1: Modify the secondary directory two thousand and twelve seven thousand seven hundred and ninety-six -
Jquery gets the browser height, width, and scroll bar height We often need to get the width and height of the browser, as well as the height of the scroll bar when we do the front end. Today, we will sort it out and use it directly in the future two thousand and twelve eighteen thousand four hundred and eighty-eight -
How to use YT. CMS plug-in The format used by YT.CMS is:<YT: type DataSource="data source">loop body</YT> two thousand and twelve twenty-six thousand and seventy-five -
Method for Zblog to hide background login address Today, I saw someone posting in Pineapple Pavilion asking how to hide the background address of zblog, so I replied and left a backup here for future reference. Zblog is an open, efficient, robust, practical and beautiful blog publishing program based on ASP platform, which is used by a large number of people. I also use this program two thousand and twelve twelve thousand seven hundred and ninety-three -
CSS implementation of modifying the color and background color of the selected text on the web page First of all, thank you for visiting Tuoyuan. If you are using IE9, Firefox, Chrome, Safari, Opera and other browsers, you can try to select the text on any page of Tuoyuan. You will find that the color of the selected text and the background color are very different from those of other websites two thousand and twelve thirteen thousand one hundred and thirty-two -
Two uses of zblog browsing statistics code Some zblog topics do not have browsing statistics. To add the zblog browsing statistics function, please add the following code: 1. Add the following code in the appropriate location of the b_article-single.html file two thousand and twelve six thousand five hundred and twelve -
Zblog background failed to log in, database connection error Today, when configuring the local zblog, I found that I could not log in to the background all the time. Considering that it was a program problem, I backed up the database and theme, deleted and reinstalled the zblog. It was useless. Since the program is reinstalled, does the problem lie in access permissions? Right click the folder of the parent directory where the program is located -- Properties -- Security, set the guest user IUSER to all permissions, and gladly open the browser for access. The problem remains; I have encountered many similar problems before, which can be solved by using this method. Today, there is something wrong with my character two thousand and twelve ten thousand six hundred and five -
Move the mouse over the link to change the color continuously I found a very interesting website design on the Internet today. The mouse will keep changing color on the link. So as a lazy person, I found several scripts on the Internet that the mouse moved to the link and kept changing color. Now I share them with you. I hope you can brainstorm and apply them to your website two thousand and twelve seven thousand four hundred and sixty -
Add cloud input method for your Zblog (QQ, Sogou, Baidu) I accidentally found that many websites have cloud input method in their comment boxes. So I went to various cloud input method websites and added a cloud input method button to the comment box of Tuoyuan. Add an input method button on the website. There are detailed instructions on the website. Click to start the cloud input method. Code example: QQ cloud input method icon: (This icon is generated and processed by the ICO plug-in of photoshop software. Photoshop installed this plug-in can support opening and saving in ICO format. Friends who need this plug-in can click here two thousand and twelve eight thousand five hundred and twelve -
Zblog removes the word "last edit" from the comment Webmasters who use zblog must encounter this problem. When editing visitors' comments in the background management, they will automatically add a word "edited by * * at * * last". The removal method is also very simple. Here are two ways to remove this word two thousand and twelve six thousand five hundred and twenty-five -
Zblog top articles are only displayed on the home page If a friend who uses zblog wants the top articles to be displayed only on the home page, he only needs to modify the c_system_lib.asp file under the FUNCTION folder. Why are top posts displayed on all pages by default two thousand and twelve seven thousand seven hundred and ten -
Usage of _root in Flash 1. No matter where _root is written, it always points to the main scene or the main timeline. For example, _root.my_mc refers to the instance named my_mc on the stage_ Root. gotoAndPlay (10) means that the main timeline jumps to the 10th frame for playback. 2. When loading an external swf file with loadmovie, the _root of the external swf file points to the stage of the main swf or the main timeline of the main swf file_ The root represents the main timeline, which is the most two thousand and eleven thirteen thousand five hundred and seventy-two -
MySQL statement creates database and database table 1. Use the SHOW statement to find out what database currently exists on the server: mysql>SHOWDATABASES two thousand and eleven eight thousand and thirty-eight -
Object Oriented Design Patterns in Flash Someone asked me how to write as for flash, and I can responsibly tell him how to write as he wants, because as and the internal composition mode of flash determine its high degree of liberalization. In theory, using the on event of the button, plus stop(), play(), gotoAndStop(), gotoAndPlay(), you can realize most of the logical relationships in a flash, and the source code is simple and easy to understand. But most people won't do that because this method is really two thousand and eleven eight thousand seven hundred and ninety-three -
Flash full screen code fscommand("fullscreen","true");// Full screen fscommand ("allowscale", "false")// Fixed size fscommand ("showmenu", "false")// Mask context menu two thousand and eleven thirteen thousand two hundred and seven