Sliding door for DIV+CSS realization

Source: Internet
Author: User

About the sliding door code, at that time I have not used ie7,ff, the result, found only in the IE6 run, the code is also very long; today, I have friends to ask me this, I had to spend a little time, finally this Dongdong finished, I hope you like;

Compatible IE7; Ff;ie6

The code is simpler and easier to read;

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">

<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>

<title> Sliding Doors </title>

<style media= "screen" type= "Text/css" >

</style>

<body>

<div class= "w936" >

<div id= "tb_" class= "Tb_" >

<ul>

<li id= "tb_1" class= "Hovertab" onmouseover= "Xgz:hoverli" (1); " > Online exhibition </li>

<li id= "tb_2" class= "Normaltab" onmouseover= "Xgz:hoverli" (2); " > The opening of this month </li>

<li id= "Tb_3" class= "Normaltab" onmouseover= "Xgz:hoverli" (3); " > Well-known developers </li>

<li id= "Tb_4" class= "Normaltab" onmouseover= "Xgz:hoverli" (4); " > Column Navigation </li>

<li id= "Tb_5" class= "Normaltab" onmouseover= "Xgz:hoverli" (5); " > haha haha </li>

<li id= "Tb_6" class= "Normaltab" onmouseover= "Xgz:hoverli" (6); " >q Small Pigeon </li>

</ul>

</div>

<div class= "CTT" >

<div class= "Dis" id= "tbc_01" > Content 1</div>

<div class= "Undis" id= "tbc_02" > Content 2</div>

<div class= "Undis" id= "tbc_03" > Content 3</div>

<div class= "Undis" id= "tbc_04" > Content 4</div>

<div class= "Undis" id= "tbc_05" > Content 5</div>

<div class= "Undis" id= "tbc_06" > Content 6 [q Small Pigeon]</div>

</div>

</div>

</body>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.