1. Trang chủ
  2. » Giáo án - Bài giảng

H2A_Code menu ngang

3 211 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Nội dung

Website: http://violet.vn/thanhha03vl H2A_Code menu ngang <style type="text/css"> .nav23{ // CSS của menu chính height: 30px; padding: 2px 0 0; margin-right:5px; } .nav23 a, .nav23 a:visited { color:#000; font-weight:bold; font-family:Arial, Helvetica, sans-serif; text-decoration:none; font-size:12px; margin: 0 4px; padding: 5px 4px; display: block; float:left; } .nav23 a:hover { // hiệu ứng của menu chính khi có chuột rê vào background-color: #909090; color:#FFF; margin: 0 4px; padding: 5px 4px; } .nav23sub { // CSS menu con (phụ) background:#F57900; margin-top:1px; padding:1px; color: #fff;; margin: 1 1px; padding: 5px 10px; font-weight:bold; font-family:Arial, Helvetica, sans-serif; font-size:12px; border-top:1px #fff solid; Chia sÎ kinh nghiÖm t¹o Website Violet 1 NguyÔn ThÞ Thanh Hµ Email: thanhhha03vl@gmail.com Website: http://violet.vn/thanhha03vl cursor:pointer; } </style> <script type="text/javascript"> function otab() { document.write('<table border="0" bordercolor="#999" style="background-color: #FFF" cellspacing="0" cellpadding="0">'); } function submn(submn_label,submn_text) { document.write('<tr><td onmouseover="this.style.background=\'#039\'" onmouseout="this.style.background=\'#F57900\'" class="nav23sub" onclick="window.location.href=\'http://YOURBLOG.blogspot.com/search/label/'+submn_label +'\'">'+submn_text+'</td></tr>'); } function ctab(){ document.write('<\/table>'); } function otab(child_id) { document.write('<table id="' + child_id +'" border="0" bordercolor="#999" style="background- color: #FFF" cellspacing="0" cellpadding="0">'); } // end of define functions! </script> <div style="background-image: url(http://sites.google.com/site/fdblogsite/Home/fd.gif); width: 670px" class="nav23"> <a id="hoctap" href="#" >Học Tập</a> <a id="thuthuat" href="#">Thủ thuật</a> <a id="khampha" href="#">Khám Phá</a> <a id="giaitri" href="#">GiảiTrí</a> <a id="hinhanh" href="#">Hình Ảnh</a> <a id="truyen" href="#">Truyện</a> <a id="cuocsong" href="#">Cuộc sống<a> </div> <script type="text/javascript"> otab("hoctap_child"); submn('Study','Study'); Chia sÎ kinh nghiÖm t¹o Website Violet 2 NguyÔn ThÞ Thanh Hµ Email: thanhhha03vl@gmail.com Website: http://violet.vn/thanhha03vl submn('Ebooks','Ebooks'); ctab(); at_attach("hoctap", "hoctap_child", "hover", "y", "pointer"); otab("thuthuat_child"); submn('Thu%20Thuat%20Blog','Blog'); ctab(); at_attach("thuthuat", "thuthuat_child", "hover", "y", "pointer"); otab("khampha_child"); submn('Khoa%20Hoc','Khoa Học'); ctab(); at_attach("khampha", "khampha_child", "hover", "y", "pointer"); otab("giaitri_child"); submn('Chuyen%20La','Chuyện lạ'); submn('Truyen%20Cuoi','Truyện cười'); submn('Relax','Thư Giãn'); submn('Xe','Xe độ'); submn('Artists','Nghệ sĩ'); submn('Scandal','Scandal'); ctab(); at_attach("giaitri", "giaitri_child", "hover", "y", "pointer"); otab("hinhanh_child"); submn('Picture','All Pic'); submn('My%20Photo','My Photo'); ctab(); at_attach("hinhanh", "hinhanh_child", "hover", "y", "pointer"); otab("truyen_child"); submn('Truyen%20Ngan','Truyện ngắn'); ctab(); at_attach("truyen", "truyen_child", "hover", "y", "pointer"); otab("cuocsong_child"); submn('Nghe%20Thuat%20Song','Nghệ thuật sống'); submn('Loi%20Khuyen','Lời Khuyên'); submn('Love','Tình Yêu'); ctab(); at_attach("cuocsong", "cuocsong_child", "hover", "y", "pointer"); </script> Chia sÎ kinh nghiÖm t¹o Website Violet 3 NguyÔn ThÞ Thanh Hµ Email: thanhhha03vl@gmail.com . Website: http://violet.vn/thanhha03vl H2A_ Code menu ngang <style type="text/css"> .nav23{ // CSS của menu chính height: 30px; padding: 2px. hiệu ứng của menu chính khi có chuột rê vào background-color: #909090; color:#FFF; margin: 0 4px; padding: 5px 4px; } .nav23sub { // CSS menu con (phụ)

Ngày đăng: 10/10/2013, 00:11

TỪ KHÓA LIÊN QUAN

w