Làm thế nào để tăng thời gian di chuột mặc định của thuộc tính tiêu đề (tooltip)
Dont sử dụng IE, không có giới hạn thời gian trong trình duyệt Firefox. Hoặc sử dụng mã tôi đã làm.
Tôi đã thực hiện một số mã trong html/css chỉ trong một tệp, không thể làm cho nó dễ dàng hơn.
<!DOCTYPE html><html><body><style>
.m span{display: none;list-style: none} .m {z-index:24;position:relative;display:inline-block}
.m:hover span{z-index:999;display:block;position:absolute;top:19px;left:1em;border:1px solid #000;background-color:#eee;color:#000;min-width:300px}
</style>
<div class="m"> News <span> Links inside span works good <a target="_blank" href="http://cnn.com">Cnn.com</a></span></div>
<div class="m"> Hover over here and Information comes up <span> To make complex things easy is not so easy to do. </span></div>
<br> Just som text here to give you the 3D effect <br>
</body></html>
Nguồn
2015-02-13 15:58:46
thể trùng lặp của [Có cách nào để có các thuộc tính tiêu đề của một phần tử html để hiển thị trong một thời gian dài?] (Http://stackoverflow.com/questions/1245936/ is-there-a-way-to-have-the-title-attribute-of-an-html-phần tử-hiển thị-cho-al) – LordScree