Home >Web Front-end >JS Tutorial >Loading effect implementation code based on jquery_jquery

Loading effect implementation code based on jquery_jquery

WBOY
WBOYOriginal
2016-05-16 18:16:58947browse

Add the following code in the code

:


Add the following code in the code

:
Loading effect implementation code based on jquery_jquery
Loading content, please wait..


The code here must be guaranteed to be at the top of the web page loading.

Then the css code:
#loading{position:absolute;width:300px;top:0px;left:50%;margin-left:-150px;text-align:center; padding:7px 0 0 0;font:bold 11px Arial, Helvetica, sans-serif;} A loading effect based on jquery is completed.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn