Fold menu

Source: Internet
Author: User
Tip: you can modify some code before running

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Menu</title><link href="style/css.css" rel="stylesheet" type="text/css" /><link href="style/left.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" language="javascript">Function disp (v) {var obj = document. getElementById (v); var obj_Title = document. getElementById (v + "_ title"); if (obj. style. display = "none") {obj. style. display = "block"; // alert (obj. parentNode. parentNode. tagName); obj_Title.className = "left_menu_item";} else {obj. style. display = "none"; obj_Title.className = "left_menu_item_xg" ;}} function Dispeare (v) {var obj = document. getElementById (v); var obj_Title = document. getElementById (v + "_ title"); obj. style. display = "none"; obj_Title.className = "left_menu_item_xg";} function disp2 (v) {var obj = document. getElementById (v); var obj_Title = document. getElementById (v + "_ title"); if (obj. style. display = "none") {obj. style. display = "block"; obj_Title.className = "left_menu";} else {obj. style. display = "none"; obj_Title.className = "left_menu2" ;}} function ChangeBGColor () {var obj_tr = document. getElementsByTagName ("tr"); var obj_li = document. getElementsByTagName ("li"); for (var I = 0; I<obj_tr.length;i++){obj_tr[i].style.backgroundColor="";}for(var i=0;i<obj_li.length;i++){obj_li[i].style.backgroundColor="";}var object=event.srcElement; //if(object.tagName=="A")//{// if(object.parentNode.parentNode.tagName=="TR")// {// object.parentNode.parentNode.style.backgroundColor="#D1E4ED";//}//else//{// object.parentNode.style.backgroundColor="#D1E4ED";//}//}} </script></head><body><div class="leftBg"><div class="rightBg"><div class="l1">Website main and background management</div><div class="lt"><div class="lt2"><p>Manage homepage</p><p>Log out</p></div><div class="leftMenu"><p onclick="disp2('typelist2')" id="typelist2_title">Get advertisement code</p><div id="Panel1"><div class="leftList" id="typelist2" ><div id="ad_menu1_title">Pop-up advertisement code</div><ul id="ad_menu1" ><li>Super pop-up window</li></ul><div id="ad_menu2_title">Image click code</div><ul id="ad_menu2" ><li>Six QQ nicknames</li><li>Passionate novels</li></ul><div id="ad_menu3_title">Guide into code</div><ul id="ad_menu3" ><li>Video and Video Chat</li><li>Identity verification</li></ul><div id="ad_menu4_title">Text advertisement code</div><ul id="ad_menu4" ></ul><div id="ad_menu5_title">Network extraction and click code</div><ul id="ad_menu5" ><li>Leiyan text advertisement</li></ul></div></div><p id="typelist3_title" onclick="disp2('typelist3')">Financial Statements</p><div class="leftList" id="typelist3" ><!--<div>查看流量详情</div>--><div>View revenue details</div><div>Apply for commission payment</div><div>View redeem prize</div><div>Point Application Prize</div></div><p id="typelist5_title" onclick="disp2('typelist5')">Personal Settings</p><div class="leftList" id="typelist5" ><div>Change logon password</div><div>Modify personal data</div><div>Register website address</div></div></div></div></div></div></body></html>
Tip: you can modify some code before running

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.