日期:2014-05-17  浏览次数:20501 次

ASP.NET除了JS怎么实现滑动门
如题,不用JS,ASP.NET怎样实现滑动门技术
------最佳解决方案--------------------
网页的滑动门技术很简单,难得是用css写得漂亮。js仅充当改变样式。样式里display属性控制显隐
代码如下

   <div class="mainTopTab">
                <ul id="tabs">
                    <li class="curr" onmouseover="tabs(this);"> <span>新闻资讯</span>
                        <ol>
                            <li><a href="#">xxxx</a></li>
                            <li><a href="#">xxxx</a></li>
                        </ol>
                    </li>
                    <li onmouseover="tabs(this);"> <span>新经济人</span>
                        <ol>
                            <li><a href="#">xxxx</a></li>
                            <li><a href="#">xxxx</a></li>
                        </ol>
                    </li>
                    <li onmouseover="tabs(this);"> <span>最新入库</span>
                        <ol>
                            <li><a href="#">xxxx</a></li>
                            <li><a href="#">xxxxx</a></li>
                        </ol>
                    </li>
                </ul>
            &