CSS-悬浮显示提醒_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:52:01
Original
1238 people have browsed it

<script><br />$(function(){<br /> $("#account,div.account-set").hover( <!-- 鼠标置上时显示内容 --><br /> function(){$(".account-set").show();},<br /> function(){$(".account-set").hide();}<br /> ); <br />})<br />$(document).ready(<br />function(){<br /> $(".account-set").css("left",$("#account").offset().left+26); <!-- 悬浮内容的显示位置 --><br /> $(".account-set").css("top",$("#account").offset().top+19);<br /> });<br /></script>

 

 

ul和li使用时,每行开始显示的是●

ol和li使用时,显示的是序号1~i

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!