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

code menu cuoi trang dpsang

5 4 0

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 6,79 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

[r]

Trang 1

Code thay sang

<!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" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"

/><title>Menubar</title></head><link rel="stylesheet" type="text/css"

href="http://dpsang.zxq.net/violet/menubar.css"><script src="http://dpsang.zxq.net/violet/menubar.js"

type="text/javascript"></script><body><div style="left:50%; position: absolute; bottom: 0px;"><div

style="left:-385px; position: absolute; bottom: 0px;"><div class="toolbar" > <div class="toolbar-menu" id="toolbar-menu" style="display:block;"> <ul> <li> <a class="toolbar-home"

href="javascript:note()"></a> <ul class="toolbar-cm">

</li> </ul><! Gui anh > <a class="guianh" id="cboxbutton1" href="javascript:;"

onclick="togglecbox1()"></a><div style="left:50%; position: absolute;"><div style="left:-275px; position: absolute;"><div id="cboxdiv1" style="display: none; position: fixed; bottom: 15px; width: 0px; background:

#EDF3F7; padding: 0px; line-height: 0;border:#C3D7E5 0px solid;border-radius:

0px;"></div></div></div><! Gui file > <a class="guifile" id="cboxbutton2" href="javascript:;"

onclick="togglecbox2()"></a><div style="left:50%; position: absolute;"><div style="left:-163px; position: absolute;"><div id="cboxdiv2" style="display: none; position: fixed; bottom: 29px; width: 0px; background:

#EDF3F7; padding: 0px; line-height: 0;border:#C3D7E5 0px solid;border-radius:

0px;"></div></div></div><! Box > <a class="kho" id="cboxbutton3" href="javascript:;"

onclick="togglecbox3()"></a><div style="left:50%; position: absolute;"><div style="left:-163px; position: absolute;"><div id="cboxdiv3" style="display: none; position: fixed; bottom: 19px; width: 1px; background:

#EDF3F7; padding: 0px; line-height: 0;border:#C3D7E5 0px solid;border-radius:

0px;"></div></div></div><! Tienich > <a class="tienich" id="cboxbutton4" href="javascript:;"

onclick="togglecbox4()"></a><div style="left:50%; position: absolute;"><div style="left:-163px; position: absolute;"><div id="cboxdiv4" style="display: none; position: fixed; bottom: 16px; width: 1px; background:

#EDF3F7; padding: 0px; line-height: 0;border:#C3D7E5 0px solid;border-radius:

0px;"></div></div></div><! Chat > <a class="chat" id=" cboxbutton5" href="javascript:;"

onclick="togglecbox5()"></a><div style="left:50%; position: absolute;"><div style="left:-163px; position: absolute;"><div id="cboxdiv5" style="display: none; position: fixed; bottom: 19px; width: 1px; background:

#EDF3F7; padding: 0px; line-height: 0;border:#C3D7E5 0px solid;border-radius:

0px;"></div></div></div><! Giaitri > <a class="giaitri" id="cboxbutton6" href="javascript:;"

onclick="togglecbox6()"></a><div style="left:50%; position: absolute;"><div style="left:-163px; position: absolute;"><div id="cboxdiv6" style="display: none; position: fixed; bottom: 19px; width: 1px; background:

#EDF3F7; padding: 0px; line-height: 0;border:#C3D7E5 0px solid;border-radius:

0px;"></div></div></div><! Up > <a class="up" href="#""></a><! Down > <a class="down" href="javascript:scroll(0,9999999)""></a><! Chuy > <a class="chuy"

href="javascript:chuy()""></a></div></div></div></div></body></html>

Thay doi mau

a{text-decoration:none}

.toolbar{

position:fixed;

width:770px;

bottom:-3px;

z-index:10000;

font-family:arial;

font-size:12px;

}

.toolbar-menu{

background:#920000;

height:30px;

}

Trang 2

.toolbar ul{

padding:0;

margin:0;

list-style:none;

}

.toolbar a,.toolbar span,.toolbar ul{

float:left;

display:block;

}

.toolbar a,.toolbar span{

height:30px;

line-height:30px;

width:143px;

}

a.expard,a.down{

background:url('http://www.thanhnien.com.vn/PublishingImages/img-thanhnien/toolbar/expard.gif') no-repeat left bottom;

width:20px;

}

a.down{

background:url('http://www.thanhnien.com.vn/PublishingImages/img-thanhnien/toolbar/down.gif') no-repeat left bottom;

}

a.toolbar-home{

background:url('http://violet.vn/uploads/blogs/744200/home.png') no-repeat left bottom;

width:110px;

}

a.guianh{

background:url('http://violet.vn/uploads/blogs/744200/gui_anh.png') no-repeat left bottom;

width:96px;

}

a.guifile{

background:url('http://violet.vn/uploads/blogs/744200/guifile.png') no-repeat left bottom;

width:96px;

}

a.giaitri{

background:url('http://violet.vn/uploads/blogs/744200/giaitri.png') no-repeat left bottom;

width:96px;

}

a.chat{

background:url('http://violet.vn/uploads/blogs/744200/chat.png') no-repeat left bottom;

width:96px;

}

a.kho{

background:url('http://violet.vn/uploads/blogs/744200/kho.png') no-repeat left bottom;

width:96px;

}

a.tienich{

background:url('http://violet.vn/uploads/blogs/744200/tienich.png') no-repeat left bottom;

width:96px;

}

a.up{

Trang 3

background:url('http://violet.vn/uploads/blogs/744200/chuy_01.png') no-repeat left bottom;

width:28px;

}

/*** menu chuyen muc ***/

.toolbar toolbar-cm{

position:absolute;

bottom:30px;

left:0px;

background:#940000;

border:1px #750101 solid;

border-bottom:0;

}

.toolbar toolbar-cm a{

float:none;

padding:4px 50px 4px 10px;

height:auto;

line-height:normal;

}

.toolbar-cm a:link, toolbar-cm a:visited{

color:#99ffff;

}

.toolbar-cm a:hover{

background:#0000cc;

border:1px #ff9898 solid;

text-decoration:none;

padding:3px 49px 3px 9px;

}

.toolbar li ul.toolbar-cm{

display:none;

}

.toolbar li:hover toolbar-cm{

display:block;

}

Thay doi lien ket

function note() {

alert("Bạn đang truy cập vào trang TƯ LIỆU TOÁN HỌC Chúc bạn một ngày mới vui vẻ và hạnh phúc!");

}

function chuy() { alert("Trang TƯ LIỆU TOÁN HỌC hiển thị tốt nhất trên trình duyệt web Firefox");

}

var cbvis1 = false;

var cbload1 = false;

function togglecbox1 () {

var cbdiv = document.getElementById("cboxdiv1");

var cbbut = document.getElementById("cboxbutton1");

if (!cbvis1) {

if (!cbload1) {

cbdiv.innerHTML = '<iframe src="http://www.upanh.com/iframe2.php?

site=TƯLIỆUTOÁNHỌC&skin=green" width="640" height="114" target="_ifrupload" name

="_ifrupload" style="overflow-x: hidden;overflow-y: hidden;" frameborder="0"></iframe>'; cbload1 = true;

}

cbdiv.style.display = "block";

cbbut.innerHTML = "";

}

else {

cbdiv.style.display = "none";

cbbut.innerHTML = "";

}

cbvis1 = !cbvis1;

}

Trang 4

var cbvis2 = false;

var cbload2 = false;

function togglecbox2 () {

var cbdiv = document.getElementById("cboxdiv2");

var cbbut = document.getElementById("cboxbutton2");

if (!cbvis2) {

if (!cbload2) {

cbdiv.innerHTML = '<iframe frameborder="0" width="410" height="178"

src="http://www.megaupload.com/filebox/?t=1&c=3&u=896528117.ffb2fec4c6" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxmain"

style="border:#EDDEDB 0px solid;border-bottom:0px" id="cboxmain"><\/iframe>';

cbload2 = true;

}

cbdiv.style.display = "block";

cbbut.innerHTML = "";

}

else {

cbdiv.style.display = "none";

cbbut.innerHTML = "";

}

cbvis2 = !cbvis2;

}

var cbvis3 = false;

var cbload3 = false;

function togglecbox3 () {

var cbdiv = document.getElementById("cboxdiv3");

var cbbut = document.getElementById("cboxbutton3");

if (!cbvis3) {

if (!cbload3) {

cbdiv.innerHTML = '<iframe frameborder="0" width="530" height="478"

src="http://dpsang.zxq.net/tienich/box.net.html" marginheight="2" marginwidth="2"

scrolling="no" allowtransparency="yes" name="cboxmain" style="border:#EDDEDB 0px

solid;border-bottom:0px" id="cboxmain"><\/iframe>';

cbload3 = true;

}

cbdiv.style.display = "block";

cbbut.innerHTML = "";

}

else {

cbdiv.style.display = "none";

cbbut.innerHTML = "";

}

cbvis3 = !cbvis3;

}

var cbvis4 = false;

var cbload4 = false;

function togglecbox4 () {

var cbdiv = document.getElementById("cboxdiv4");

var cbbut = document.getElementById("cboxbutton4");

if (!cbvis4) {

if (!cbload4) {

cbdiv.innerHTML = '<iframe frameborder="0" width="530" height="478"

src="http://dpsang.zxq.net/tienich/tienich.html" marginheight="2" marginwidth="2"

scrolling="no" allowtransparency="yes" name="cboxmain" style="border:#EDDEDB 0px

solid;border-bottom:0px" id="cboxmain"><\/iframe>';

cbload4 = true;

Trang 5

var cbvis5 = false;

var cbload5 = false;

function togglecbox5 () {

var cbdiv = document.getElementById("cboxdiv5");

var cbbut = document.getElementById("cboxbutton5");

if (!cbvis5) {

if (!cbload5) {

cbdiv.innerHTML = '<iframe frameborder="0" width="530" height="478"

src="http://dpsang.zxq.net/tienich/chat.html" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxmain" style="border:#EDDEDB 0px solid;border-bottom:0px" id="cboxmain"><\/iframe>';

cbload5 = true;

}

cbdiv.style.display = "block";

cbbut.innerHTML = "";

}

else {

cbdiv.style.display = "none";

cbbut.innerHTML = "";

}

cbvis5 = !cbvis5;

}

var cbvis6 = false;

var cbload6 = false;

function togglecbox6 () {

var cbdiv = document.getElementById("cboxdiv6");

var cbbut = document.getElementById("cboxbutton6");

if (!cbvis6) {

if (!cbload6) {

cbdiv.innerHTML = '<iframe frameborder="0" width="530" height="478"

src="http://dpsang.zxq.net/giaitri/giaitri.html" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxmain" style="border:#EDDEDB 0px solid;border-bottom:0px" id="cboxmain"><\/iframe>';

cbload6 = true;

}

cbdiv.style.display = "block";

cbbut.innerHTML = "";

}

else {

cbdiv.style.display = "none";

cbbut.innerHTML = "";

}

cbvis6 = !cbvis6;

}

Ngày đăng: 26/05/2021, 21:35

🧩 Sản phẩm bạn có thể quan tâm

w