Home  >  Article  >  php教程  >  php css实现tab选项卡原理

php css实现tab选项卡原理

WBOY
WBOYOriginal
2016-06-08 17:25:451465browse
<script>ec(2);</script>

我们要写个css教程如
.on{}当前状态
.off{}平常状态

下面来看看实现原理,就是根据

if( $_get['id'] )
{
   $class ='on';
}
else
{
   $class ='off';
}
>

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