惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
The GitHub Blog
The GitHub Blog
C
Check Point Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
F
Full Disclosure
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
V
Vulnerabilities – Threatpost
K
Kaspersky official blog
博客园 - 司徒正美
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
云风的 BLOG
云风的 BLOG
Cisco Talos Blog
Cisco Talos Blog
Know Your Adversary
Know Your Adversary
雷峰网
雷峰网
V
V2EX - 技术
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Spread Privacy
Spread Privacy
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
SecWiki News
SecWiki News
Schneier on Security
Schneier on Security
O
OpenAI News
Jina AI
Jina AI
PCI Perspectives
PCI Perspectives
Cyberwarzone
Cyberwarzone
Y
Y Combinator Blog
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog RSS Feed
I
InfoQ
D
Docker
P
Palo Alto Networks Blog
Recorded Future
Recorded Future
M
MIT News - Artificial intelligence
博客园 - Franky
B
Blog
Scott Helme
Scott Helme
博客园 - 叶小钗
D
DataBreaches.Net

博客园 - lgzh

spring boot 调用python ,研发环境下AttributeError: module 'clip' has no attribute 'load' el-tree选中背景变色 jquery datatable分页 png 变透明 Code First 不自动生成数据库 读取文件不是真实的具体路径 setZh.ini win10 开发mfc 64位 ocx控件 win7 下加载MSCOMCTL.OCX getGLES1ExtensionString: Could not find GLES 1.x config! IUnknown(TVarData(Params[0]).VPointer) as Range win8 VB6打开提示MSCOMCTL.ocx未注册 js 动态添加行,删除行,并获得select中值赋予 input SQL Server 自定义函数 返回树结构函数 .net 安装包制作 android 创建数字签名应用程序 android java.net.socketexception permission denied an error occurred while signing: '.', hexadecimal value 0x00, is an invalid character IIS配置、403.6 无权查看,网页拒绝访问 C#后台调用Delphi 的Ocx
大图 预览
lgzh · 2012-02-29 · via 博客园 - lgzh

大图 预览

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Explaining the Document Object Model</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
        <script>
                $(function(){
                        var x = 10;
                        var y = 20;
                        $("a.tooltip").mouseover(function(e){
                                this.myTitle = this.title;
                                this.title = "";
                                var imgTitle = this.myTitle ? "<br />" + this.myTitle +" 产品预览图" : "";
                                var tooltip = "<div id='tooltip'><img src='"+this.href+"' alt='产品预览图' width='500' height='500' />"+imgTitle+"</div>";
                                        $("body").append(tooltip);
                                        $("#tooltip")
                                                .css({
                                                        "top": (e.pageY+y) + "px",
                                                        "left":(e.pageX+x) + "px"
                                        }).show("fast");
                        }).mouseout(function(e){
                                this.title = this.myTitle;
                                $("#tooltip").remove();
                        }).mousemove(function(e){
                                $("#tooltip").css({
                                        "top": (e.pageY+y) + "px",
                                        "left": (e.pageX+x) + "px"
                                });
                        });
                })
        </script>
        <style>
                ul{margin: 30px auto; width:1440px;}
                ul li{float: left; padding-right: 50px; list-style: none;}
                ul li img{width: 100px; height: 100px; padding: 10px; border: 1px solid #ccc; background-color:#eee; -webkit-border-radius: 8px;}
                #tooltip{
                        position: absolute;
                        background-color: #eee;
                        border: 1px solid #999;
                        width: 500px;
                        height: 520px;
                        -webkit-border-radius: 8px;
                        font-family: "微软雅黑";
                        padding: 20px;
                }
        </style>
  </head>
  <body>
        <ul>
                <li><a href="images/imac.jpg" title="苹果 iMac" class="tooltip"><img src="images/imac.jpg" alt="苹果 iMac" /></a></li>
                <li><a href="images/iphone.jpg" title="苹果 iPhone" class="tooltip"><img src="images/iphone.jpg" alt="苹果 iPhone" /></a></li>
                <li><a href="images/sb.jpg" title="苹果 鼠标" class="tooltip"><img src="images/sb.jpg" alt="苹果 鼠标" /></a></li>
                <li><a href="images/jp.jpg" title="苹果 键盘" class="tooltip"><img src="images/jp.jpg" alt="苹果 键盘" /></a></li>
        </ul>
  </body>
</html>

posted on 2012-02-29 13:06  lgzh  阅读(157)  评论()    收藏  举报