Simple horizontal menu test

zhaozj2021-02-16  84

[Code]

horizontal alternative menu </ title> <script language = "javascript"> <! - // Designer: Stefli // --Date: 2004-7-22// - address: shenzhenvar preId = 1; function showmenu (id) {var osubmenu = evAl ("Document.all.SubMenu" id); osubmeru.style.display = (OsubMenu .style.display == "none")? "" ":" none ";} Function showMenu1 (ID) {var OsubMenu = EVAL (" Document.all.SubMenu1 " ID); var opresubmenu = evAl (" Document.all .SubMenu1 " preid; if (preid! = id) {opresubmenu.style.display =" none "; osubmenu.style.display =" "; preId = ID;} else {osite}} else {ositeu.style.display = (OsubMenu. Style.display == "NONE")? "" ":" none ";}} // -> </ script> <style type =" text / css "> <! - a: link {font-size: 10pt; color: # 000000; Text-Decoration: none;} A: visited {font-size: 10pt; color: # 000000; text-decoration: none;} a: hover {font-size: 10pt; color: # 990000 Text-Decoration: none;}. font {font-size: 10pt; colo R: # 000000; Text-Decoration: none;} -> </ style> </ head> <body> <table width = "100" border = "0" cellpadding = "2" cellspacing = "0" class = "font"> <tr> <td> All Expansion </ TD> </ TD> </ Table> <Table Width = "61" Height = "92" Border = "0" Cellpadding = "3" Cellspacing = " 1 "BGColor =" # 000000 "Class ="</p> <p>Font "> <tr> <td width =" 13 "bgcolor =" # fff99 "> <a href="javascript:showmenu(1 );"> Academic Science </a> </ td> <TD Width =" 0 "BGCOLOR =" # fffcc "> <table width =" 100 "border =" 0 "cellpadding =" 2 "cellspacing =" 0 "id =" SubMenu1 "style =" display: none "> <tr> <td> < A href = "#"> Electronic production </a> </ td> <TD> <a href="#"> computer hardware </a> </ td> <TD> <a href="#"> Computer Software </a> </ td> <td> <a href="#"> security technology </a> </ td> <td> <a href="#"> operating system </a> </ td > <td> <a href="#"> Programming Tips </A> </ TD> <TD> <A HREF="#"> Database </A> </ TD> <TD> <a href = " # "> Website production </a> </ td> <td> <a href="#"> Technology News </A> </ TD> <TD> <a href="#"> Network Resource </ a > </ td> <td> <a href="#"> Psychology </a> </ td> <TD> <a href="#"> E-government </a> </ td> <TD> <a href="#"> E-commerce </a> </ td> </ tr> </ table> </ td> <td width = "13" bgcolor = "# fff99"> <a href = "JavaScript : ShowMenu (2); "Professional learning </a> </ td> <td width =" 0 "BGCOLOR =" # fffcc "> <table width =" 60 "border =" 0 "cellpadding =" 2 "Cellspacing = "0" id = "SubMenu2" style = "display: none"> <tr> <td width = "13"> <a href="#"> Test exchange</p> <p>/ a> </ td> <td width = "13"> <a href="#"> design system </a> </ td> <td width = "13"> <a href="#"> management Department </a> </ td> <td width = "34"> <a href="#"> Foreign Language </A> </ td> </ tr> </ table> </ td> <TD Width = "13" BGCOLOR = "# fff99"> <a href="javascript:showmenu (3 );"> Original League </a> </ TD> <TD Width = "0" BGColor = "# fffcc"> < Table width = "60" border = "0" cellpadding = "2" cellspacing = "0" id = "SubMenu3" style = "display: none"> <tr> <td width = "13"> <a href = " # "> Emotional prose </a> </ td> <td width =" 13 "> <a href="#"> Come talk </A> </ td> <td width =" 13 "> <a href = "#"> Novel Park </a> </ td> <td width = "53"> <a href="#"> poetry </a> </ td> </ TR> </ table> < / TD> <td width = "13" bgcolor = "# fff99"> <a href="javascript:showmenu (4 );"> Social Humanities </A> </ TD> <TD Width = "0" BGCOLOR = "#Fffccc"> <table width = "60" border = "0" cellpadding = "2" cellspacing = "0" id = "submenu4" style = "display: none"> <tr> <TD width = "13" > <a href="#"> Hotspot discussion </a> </ td> <td width = "13"> <a href="#"> growth journey </a> </ td> <td width = " 13 "> <a href="#"> The road of strong country </a </ td> <</p> <p>Td width = "53"> <a href="#"> Humanities </A> </ TD> </ TR> </ table> </ td> </ tr> </ table> <br> <br > <table width = "100" border = "0" cellpadding = "2" cellspacing = "0" class = "font"> <tr> <td> part expansion </ td> </ tr> </ table> <table width = "61" height = "92" border = "0" cellpadding = "3" cellspacing = "1" bgcolor = "# 000000" class = "font"> <tr> <td width = "13" bgcolor = "# Fff99"> <a href="javascript:showmenu1(1 );"> Academic Science </a> </ TD> <TD Width = "0" BGCOLOR = "# fffcc"> <Table Width = "100 "Border =" 0 "cellpadding =" 2 "cellspacing =" 0 "id =" SubMenu11 "style =" display: none "> <tr> <td> <a href="#"> Electronic production </a < / TD> <td> <a href="#"> computer hardware </a> </ td> <td> <a href="#"> computer software </a> </ td> <TD> <a HREF = "#"> Security technology </a> </ td> <td> <a href="#"> operating system </a> </ td> <td> <a href="#"> programming skills </a> </ td> <td> <a href="#"> database </a> </ td> <td> <a href="#"> website production </a> </ td> < TD> <a href="#"> Technology News </A> </ TD> <TD> <A HREF="#"> Network Resource </a> </ TD> <TD> <a href = "# "> Psychology </a> </ td> <td> <a href="#"> e-government </a> </ td> <TD></p> <p><a href="#"> E-commerce </a> </ td> </ tr> </ table> </ td> <td width = "13" bgcolor = "# fff99"> <a href = "JavaScript : ShowMenu1 (2); "> Professional learning </a> </ td> <td width =" 0 "BGColor =" # fffcc "> <table width =" 60 "border =" 0 "cellpadding =" 2 "cellspacing = "0" id = "SubMenu12" style = "display: none"> <tr> <td width = "13"> <a href="#"> test communication </a> </ td> <td width = "13"> <a href="#"> design system </a </ td> <td width = "13"> <a href="#"> management system </a> </ td> <TD Width = "34"> <a href="#"> Foreign language system </a </ td> </ tr> </ table> </ td> <td width = "13" bgcolor = "# fff99"> <a href="javascript:showmenu1(3 );"> Original Alliance </a> </ td> <td width = "0" bgcolor = "# fffcc"> <table width = "60" border = "0" Cellpadding = "2" cellspacing = "0" id = "SubMenu13" style = "display: none"> <tr> <td width = "13"> <a href="#"> emotional prose </a </ TD> <td width = "13"> <a href="#"> thinking talks </a> </ td> <td width = "13"> <a href="#"> novel park </a> </ td> <td width = "53"> <a href="#"> Poetry "</a> </ td> </ tr> </ table> </ td> <td width =" 13 "BGColor = "# Fff99"> <a href = "JavaScript: showMenu1 (4);</p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-14289.html</div><div class="plugin d-flex justify-content-center mt-3"></div><hr><div class="row"><div class="col-lg-12 text-muted mt-2"><i class="icon-tags mr-2"></i><span class="badge border border-secondary mr-2"><h2 class="h6 mb-0 small"><a class="text-secondary" href="tag-2.html">9cbs</a></h2></span></div></div></div></div><div class="card card-postlist border-white shadow"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>New Post</b>(<span class="posts">0</span>) </div><div></div></div></div><ul class="postlist list-unstyled"> </ul></div></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="14289" checked /></div></div></div></div></div><footer class="text-muted small bg-dark py-4 mt-3" id="footer"><div class="container"><div class="row"><div class="col">CopyRight © 2020 All Rights Reserved </div><div class="col text-right">Processed: <b>0.051</b>, SQL: <b>9</b></div></div></div></footer><script src="./lang/en-us/lang.js?2.2.0"></script><script src="view/js/jquery.min.js?2.2.0"></script><script src="view/js/popper.min.js?2.2.0"></script><script src="view/js/bootstrap.min.js?2.2.0"></script><script src="view/js/xiuno.js?2.2.0"></script><script src="view/js/bootstrap-plugin.js?2.2.0"></script><script src="view/js/async.min.js?2.2.0"></script><script src="view/js/form.js?2.2.0"></script><script> var debug = DEBUG = 0; var url_rewrite_on = 1; var url_path = './'; var forumarr = {"1":"Tech"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script><script src="view/js/wellcms.js?2.2.0"></script><a class="scroll-to-top rounded" href="javascript:void(0);"><i class="icon-angle-up"></i></a><a class="scroll-to-bottom rounded" href="javascript:void(0);" style="display: inline;"><i class="icon-angle-down"></i></a></body></html><script> var forum_url = 'list-1.html'; var safe_token = 'nPDCa9WhUJ90QF2xuW8o4MHk4C8I4u4hLBpGqa3T35l0w0lBFrH51m67ou_2FwsLLk_2BROpGQn4gJxg20K2S69p9g_3D_3D'; var body = $('body'); body.on('submit', '#form', function() { var jthis = $(this); var jsubmit = jthis.find('#submit'); jthis.reset(); jsubmit.button('loading'); var postdata = jthis.serializeObject(); $.xpost(jthis.attr('action'), postdata, function(code, message) { if(code == 0) { location.reload(); } else { $.alert(message); jsubmit.button('reset'); } }); return false; }); function resize_image() { var jmessagelist = $('div.message'); var first_width = jmessagelist.width(); jmessagelist.each(function() { var jdiv = $(this); var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); var jmessage_width = Math.min(jdiv.width(), maxwidth); jdiv.find('img, embed, iframe, video').each(function() { var jimg = $(this); var img_width = this.org_width; var img_height = this.org_height; if(!img_width) { var img_width = jimg.attr('width'); var img_height = jimg.attr('height'); this.org_width = img_width; this.org_height = img_height; } if(img_width > jmessage_width) { if(this.tagName == 'IMG') { jimg.width(jmessage_width); jimg.css('height', 'auto'); jimg.css('cursor', 'pointer'); jimg.on('click', function() { }); } else { jimg.width(jmessage_width); var height = (img_height / img_width) * jimg.width(); jimg.height(height); } } }); }); } function resize_table() { $('div.message').each(function() { var jdiv = $(this); jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>'); }); } $(function() { resize_image(); resize_table(); $(window).on('resize', resize_image); }); var jmessage = $('#message'); jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '6rem'); }); jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); }); $('#nav li[data-active="fid-1"]').addClass('active'); </script>