Add a control menu to blog to expand and shrink press

zhaozj2021-02-16  103

When you read the article, Blog's menu bar is really too eye, I added a button to control the display and hide of the menu. This can be implemented with JavaScript, but 9CBS Blog is not allowed to join JavaScript directly in the configuration, but we can add JavaScript to a picture in LNLOAD event. Look at me is added to the counting code code, the effect looks at the upper left corner. The program code is as follows:

Var div = document.createElement ('span'); document.body.insertadjacentelement ('Beforend', DIV);

转载请注明原文地址:https://www.9cbs.com/read-10728.html

New Post(0)