摘要: <!DOCTYPE html><html><head> <title></title> <style type="text/css"> .contianer{ position: relative; } .panel{ width: 200px; height: 200; background-co 阅读全文
posted @ 2017-03-31 20:01 代码小精灵 阅读(240) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title></title> <script type="text/javascript" src="js/jquery.min.js"></script></head><body> <button id="btn">点击</button> 阅读全文
posted @ 2017-03-31 13:41 代码小精灵 阅读(337) 评论(0) 推荐(0) 编辑
摘要: html代码: javascript代码: 注释: 1.当鼠标滑过后,第一,<a>标签的title属性的提示也会出现;第二,是设置x坐标和y坐标的问题,由于自制的坐标和鼠标的距离太近了,有时候会引起无法显示的问题;因此要 清空title,并设置设置x坐标和y坐标; 2.如果要提示效果跟鼠标一起移动, 阅读全文
posted @ 2017-03-31 12:53 代码小精灵 阅读(449) 评论(0) 推荐(1) 编辑