A good way to control css with js_CSS/HTML

WBOY
Release: 2016-05-16 12:12:04
Original
2010 people have browsed it

[Ctrl+A to select all Note: If you need to introduce external Js, you need to refresh it to execute
]<script>// JScript source code <!-- function cnTable(){ //document.getElementById('cnTable').style.display = "block"; //document.getElementById('enTable').style.display = "none"; //document.getElementById('bigTable').style.display = "none"; //document.getElementById('otherTable').style.display = "none"; l1.className="active_web";l2.className="";l3.className="";l4.className=""; cnSp.className="blue_text";enSp.className="";bigSp.className="";otherSp.className=""; } function enTable(){ //document.getElementById('cnTable').style.display = "none"; //document.getElementById('enTable').style.display = "block"; //document.getElementById('bigTable').style.display = "none"; //document.getElementById('otherTable').style.display = "none"; l1.className="";l2.className="active_web";l3.className="";l4.className=""; cnSp.className="";enSp.className="blue_text";bigSp.className="";otherSp.className=""; } function bigTable(){ //document.getElementById('cnTable').style.display = "none"; //document.getElementById('enTable').style.display = "none"; //document.getElementById('bigTable').style.display = "block"; //document.getElementById('otherTable').style.display = "none"; l1.className="";l2.className="";l3.className="active_web";l4.className=""; cnSp.className="";enSp.className="";bigSp.className="blue_text";otherSp.className=""; } function otherTable(){ //document.getElementById('cnTable').style.display = "none"; //document.getElementById('enTable').style.display = "none"; //document.getElementById('bigTable').style.display = "none"; //document.getElementById('otherTable').style.display = "block"; l1.className="";l2.className="";l3.className="";l4.className="active_web"; cnSp.className="";enSp.className="";bigSp.className="";otherSp.className="blue_text"; } --> </script>
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