Home >Web Front-end >JS Tutorial >Introduction to research on js library collection in wordpress_javascript skills

Introduction to research on js library collection in wordpress_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:10:021098browse

Today I will introduce to you the js effect library used by WordPress

1.fat.js to achieve color gradient effect

First include the fat.js file, as long as it is on the element you want to achieve the effect Just add the form of class="fade-FFFF33". FFFF33 is the starting color, which will gradient from this color to the background color of the component.

2. dbx.js easily realizes the dragging effect of div layer

As long as you include the dbx.js file, set class=dbx-box, dbx-handle to the layer. For details, please Reference

http://www.brothercake.com/site/resources/scripts/dbx/

I have never seen the above two before. They are very practical and I hope they will be helpful to everyone. WordPress has put a lot of effort into user UE. It uses prototype.js and jquery.js together, and also uses some effect libraries such as scriptaculous. The functions are so powerful. It is worth mentioning that the automatic saving function of blog articles is worth studying. Research.

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