Home > Web Front-end > JS Tutorial > body text

Display two divs side by side and switch content by clicking on the title_javascript skills

WBOY
Release: 2016-05-16 17:19:15
Original
1193 people have browsed it
Copy code The code is as follows:




选项卡




首页


嘿嘿,无视div原始class值。


测试


继续无视h3原始class值。


无聊


h3没有值也可以~


傻蛋


div没有值一样可以~




首页


  1. 嘿嘿,无视容器原始class值。

测试


  1. 继续无视h3原始class值。

无聊


  1. h3没有值也可以~

傻蛋


  1. div没有值一样可以~



首页


嘿嘿,无视h3原始class值。


测试


继续无视div原始class值。


无聊


h3没有值也可以~


傻蛋


class值相似一样也可以~

指定class后,即时再多一个div也行。






source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template