廣告標題

[關閉]
image

HTML:

廣告標題

[關閉]
image

 

JavaScript:

window.onload = function() {
	var fixAd = document.getElementById("fixAd");
	var fixAdHead = document.getElementById("fixAdHead");
	var fixAdBody = document.getElementById("fixAdBody");
	var closeBtn = document.getElementById("closeBtn");

	fixAdHead.onmouseover = function() {
		fixAdBody.style.display = "block";
		closeBtn.style.display = "block";
	};
	closeBtn.onclick = function() {
		fixAdBody.style.display = "none";
		closeBtn.style.display = "none";
	};
};
Go to top