Home  >  Article  >  Web Front-end  >  JS implementation example code to imitate Weibo publishing effect_javascript skills

JS implementation example code to imitate Weibo publishing effect_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:08:571059browse

Effect:

JS implementation example code to imitate Weibo publishing effect_javascript skills

Things:

Use the multi-functional floating motion frame to achieve the Weibo effect. First, add the attributes in the textarea to the newly created li, then add the li to the ul, and then use the floating motion frame to dynamically display the data.

Code:

Copy code The code is as follows:


   
   
   



<입력 유형 ="button" id="btn" value="게시" />

    li style="display: none;">




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