Home >Web Front-end >JS Tutorial >jquery implements div shadow effect sample code_jquery

jquery implements div shadow effect sample code_jquery

WBOY
WBOYOriginal
2016-05-16 17:22:301082browse
复制代码 代码如下:




<script> <br><br>function changediv(v){ <br>var d = document.getElementById("mydiv"); <br>if(v == "t") d.className="mydiv2"; <br>else d.className="mydiv1"; <br>} <br></script>




contents



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