| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <html dir="ltr" lang="zh">
- <head>
- <META http-equiv="Content-Type" content="text/html; charset=utf-8">
- <style type="text/css">
- iframe {
- width: 370px;
- height: 170px;
- }
-
- body {
- overflow-y: scroll;
- padding-top: 14px
- }
-
- .btn-load {
- position: absolute;
- width: 100%;
- font-size: 12px;
- text-align: center;
- display: block-inline;
- top: 0px;
- left: 0px;
- margin: 3px 0;
- text-decoration: none;
- color: #999;
- }
- </style>
- <script type="text/javascript">
- function AutoResizeImage(maxWidth, maxHeight, objImg) {
- var img = new Image();
- img.src = objImg.src;
- var hRatio;
- var wRatio;
- var Ratio = 1;
- var w = img.width;
- var h = img.height;
- wRatio = maxWidth / w;
- hRatio = maxHeight / h;
- if (maxWidth == 0 && maxHeight == 0) {
- Ratio = 1;
- } else if (maxWidth == 0) {
- // if (hRatio<1) Ratio=h Ratio; }else if (maxHeight==0){ if (wRatio<1) Ratio=w
- Ratio;
- } else if (wRatio < 1 || hRatio < 1) {
- Ratio = (wRatio <= hRatio ? wRatio : hRatio);
- }
- if (Ratio < 1) {
- w = w * Ratio;
- h = h * Ratio;
- }
- objImg.style.height = h + 'px';
- objImg.style.width = w + 'px';
- objImg.style.cursor = 'url("..//Images//Zoom.ico")';
- }
- function openInIE(objImg) {
- window.location = 'about:blankFile://_' + objImg.src.replace("file:///", "");
- // oShell.ShellExecute ( "IEXPLORE", objImg.src, "", "open", "1");
- }
- </script>
- </head>
- <body link="#0000FF" vlink="#0000FF" alink="#0000FF" hlink="#0000FF" bgcolor="#fdfdfd" oncontextmenu="location.href='PopMenu';return false;">
- <a class="btn-load" id="btnLoad" href="about:blankLoadHistroyMessage">加载更多消息</a>
- </body>
- </html>
|