The line is like the Js text background special effect of running water. I like it very much. The background of the text is like the assembly line. It is constantly changing and beautiful.
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
Code implementation for page sinking and jitter, with less code and functionality
Step 1: Add the following code to SCRIPT if (document. layers) {alert ("narrow down the window to see the effect! ");} Function drop (n) {if (self. moveBy) {self. moveBy (0,-900); for (I = n; I> 0; I --) {self. moveBy (0, 3) ;}for (j = 8; j> 0; j --) {self. moveBy (0, j); self. moveBy (j, 0); self. moveBy (0,-j); self. moveBy (-j, 0) ;}} SCRIPT Step 2: change the co
The slides in jquery special effects must be familiar to everyone. Here is a good slide effect with the source code. If you are interested, you can learn about the slides of jquery special effects, as shown below:
The Code is as follows:
Jquery Special Effects
In the project, we need to add the waiting animation effect when submitting the ajax request. Therefore, we have written a simple general js method. For details, refer to and use it.
The Code is as follows:
/* Latency wait result of ajax submission */
Var AjaxLoding = new Object ();
// Wraperid: Container element for displaying loding Images// Ms: The length of time displayed by the loding icon, in milliseconds// Envent: indicates the event source o
At the beginning, you need to hide a part of the lt; option gt; tag based on certain conditions, which is similar to the linkage effect. However, the current html specification does not provide lt; option gt; provides hidden effects, so the commonly used settings of display or visibility are invalid.
The Code is as follows:
Untitled Page
This example introduces the page turning effect. For more information, refer to the blog of [He minggui's nest], as follows:
If you are interested, you can refer to [Reference recommendations]. The principle and implementation of the original blog have been clearly explained to you and will not be repeated here.
Download the source code in this example as follows:
Source code download
Reference recommendations:
Implementation of book
Login: {$user _name}
The If effect is removed but not with judgment. I also printed the judging conditions above, also showed, but can not be judged because God horse
Reply to discussion (solution)
if ({$user _name}!=null) is wrong! Variable not definedif ("{$user _name}"!=null) enclose them in quotation marks!
No, thanks, it's common sense.A combination of alpha and numericis called a string when enclosed in quotation marksis called a va
Today, I found a scroll effect on the Internet and shared it with you. First:Html code:Copy codeThe Code is as follows: The code for roundabout. js can be downloaded from the official website. It is too long to be written here. Click the official website address.
How to Make height: 100%; take effect, height100 % Take EffectWhy is the height: 100%? when designing a page, you placedivElement, you want it to fill the whole window height, the most natural way, you will give thisdivAddheight: 100%;. However, if you set the widthwidth: 100%;The width of the element is immediately extended to the whole horizontal width of the window. Is the height the same? Error. To understand why not, you need to understand how th
window, the implementation of the dialog box under the page to effect.Then the paging function of the foreign article is also relatively full, later I can add to the pagination part of the code points to write an article. For the master of the high-level is not necessary, left to the novice beginner to see.I'm just proposing how to achieve the effect of Ajax changes under the dialog button.1, we add a paragraph under the dialog box page= "content555"
Use JS to generate an interface-friendly wait effect, using the jquery plug-in spin.js, the end of the article has a download address, the following image is generated screenshots, code calls very simple.
Plugin Download Addresshttps://github.com/fgnass/spin.js/http://spin.js.org/
Q Group discussion: 236201801
.
Use the Flash ActionScript 2.0 code to control the movie clip's method to do a snow effect. Look very realistic ah, come on and learn it.
Tools/raw Materials
Flash
Flash ActionScript 2.0
Steps/Methods
Creates a new document with a size of 550x400 pixels and a background of black.
"Ctrl+f8" creates a new component with the name "snow" and the type "graphics".
Select the line tool to draw a part of the snowflake in the Snow component pa
10 web Front-end webpage special effect code previews and 10 special effect Codes
1. Schema-modular, responsive front-end development framework
Schema is a modular and responsive front-end framework that helps you quickly start your Web project. The Schema is equipped with the ability to create multiple views. From desktop monitors to mobile devices, its 12-column mesh provides powerful flexibility. Schema
Android released the preview version of Android m last week. But presumably Android5.0 a lot of cool effects, most developers have not used, that is not to say the majority of users.This article describes one of the cool effects in Android5.0, click on the Water Ripple Diffusion effect (Ripple Effect).The implementation described below is a new API that calls Android5.0, not a custom implementation, so it s
JQuery horizontal erasure focus chart special effect code sharing, jquery special effect code
This example describes the Special Effect of jQuery horizontal erasure of focus graphs. Share it with you for your reference. The details are as follows:Xunlei jQuery's horizontal erasure focus chart is a 7-screen horizontal erasure focus chart code based on jQuery. It h
On the right side of jQuery, the Focus Image carousel special effect code is shared, and the jquery special effect code is
This example describes the code of the playback effect of the focus image on the right side of jQuery. Share it with you for your reference. The details are as follows:The source code of the Focus Image carousel animation
Jquery implements Multi-filter special effect code sharing and jquery special effect code sharing
This example describes how jquery achieves special filtering effects based on multiple conditions. Share it with you for your reference. The details are as follows:The multi-condition search form implemented by jquery contains the source code of the date-selected table form
This article mainly introduces the CSS to achieve the effect of the black navigation menu with shadow effect, through the CSS set background image switching effect to achieve a shaded navigation menu function, with a certain reference value, the need for friends can refer to the next
The example in this article describes the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.