396-1.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <!DOCTYPE>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  5. <title>四维时代</title>
  6. <style type="text/css">
  7. html {
  8. background-color: #000;
  9. }
  10. body { -ms-touch-action: none; }
  11. a{text-decoration:none;color:#fff;}
  12. .wrap {
  13. width: 100%;
  14. height: 100%;
  15. display: flex;
  16. flex-direction: row;
  17. justify-content: center;
  18. align-items: center;
  19. }
  20. .intro {
  21. background: url("Spain.png") no-repeat;
  22. background-size: 100%;
  23. background-color: rgba(34, 34, 34, 1);
  24. }
  25. .photo {
  26. margin-left: -400px;
  27. }
  28. .intro-words {
  29. margin: 200px 0 0 50px;
  30. }
  31. .intro-words p {
  32. width: 90%;
  33. color: #fff;
  34. }
  35. @media screen and (max-width: 1400px) {
  36. .wrap {
  37. width: 100%;
  38. height: 100%;
  39. display: flex;
  40. flex-direction: row;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .intro {
  45. background: url("Spain.png") no-repeat;
  46. background-size: 100%;
  47. background-color: rgba(34, 34, 34, 1);
  48. }
  49. .photo {
  50. margin-left: -400px;
  51. }
  52. .intro-words {
  53. margin: 200px 0 0 50px;
  54. }
  55. .intro-words p {
  56. width: 90%;
  57. color: #fff;
  58. }
  59. }
  60. #rotateHint{
  61. animation: flash 1s infinite;
  62. -webkit-animation: flash 1s infinite;
  63. animation-timing-function: ease-out;
  64. left: 50%;
  65. top: 26%;
  66. margin-left:-32px;
  67. width: 80px;
  68. height: 80px;
  69. position: absolute;
  70. background-repeat: no-repeat;
  71. background-position: center center;
  72. z-index: 10;
  73. background-image:url("rotate1.png");
  74. }
  75. @keyframes flash{
  76. 0% {
  77. opacity: 0.8;
  78. background-size: 60% 60%;
  79. }
  80. 100% {
  81. opacity: 0.1;
  82. background-size: 100% 100%;
  83. }
  84. }
  85. </style>
  86. <script language="JavaScript" type="text/javascript" src="src/ObjectViewer_2D.js"></script>
  87. <script language="JavaScript" type="text/javascript">
  88. var Fdage;
  89. var dragStart;
  90. function showRotHint(){
  91. var rot = document.getElementById("rotateHint");
  92. var container = document.getElementById('4dage');
  93. var f1 = function(){
  94. dragStart = true;
  95. }
  96. var f2 = function(){
  97. dragStart = false;
  98. }
  99. var f3 = function(){
  100. if(dragStart){
  101. rot.parentElement.removeChild(rot);
  102. container.removeEventListener("mousedown",f1);
  103. container.removeEventListener("mouseup",f2);
  104. container.removeEventListener("touchstart",f1)
  105. container.removeEventListener("touchend",f2)
  106. container.removeEventListener("mousemove",f3);
  107. container.removeEventListener("touchmove",f3);
  108. }
  109. }
  110. container.addEventListener("mousedown",f1);
  111. container.addEventListener("mouseup",f2);
  112. container.addEventListener("touchstart",f1)
  113. container.addEventListener("touchend",f2)
  114. container.addEventListener("mousemove",f3);
  115. container.addEventListener("touchmove",f3);
  116. }
  117. function init4dage() {
  118. var zoomVal=document.documentElement.clientHeight/960;
  119. var nameOfDiv = "4dage";
  120. var folderName = "image/396";
  121. var imageWidth = 1200;
  122. var imageHeight = 800;
  123. var backgroundColor = "rgba(255,255,255,0)";
  124. var uCount = 72;
  125. var vCount = 1;
  126. var uWrap = true;
  127. var vWrap = true;
  128. var uMouseSensitivity = -0.098484;
  129. var vMouseSensitivity = 0.019735;
  130. var uStartIndex = 1;
  131. var vStartIndex = 0;
  132. var minZoom=zoomVal;
  133. var maxZoom = 2.000000;
  134. var rotationDamping = 0.960000;
  135. var windowResizable = true;
  136. var enableLOD = false;
  137. var addResizableGUIButton = false;
  138. var addPlayGUIButton = false;
  139. var imageExtension = "png";
  140. var showLoading = false;
  141. Fdage = new FdageT(nameOfDiv,folderName,imageWidth,imageHeight,backgroundColor,uCount,vCount,uWrap,vWrap,uMouseSensitivity,vMouseSensitivity,uStartIndex,vStartIndex,minZoom,maxZoom,rotationDamping,windowResizable,enableLOD,addResizableGUIButton,addPlayGUIButton,imageExtension,showLoading);
  142. }
  143. window.onload = init4dage;
  144. </script>
  145. </head>
  146. <body oncontextmenu="return false;">
  147. <div class="wrap">
  148. <div id="4dage" class="photo" style="width:960px;height:960px;max-width:100%;margin-left: -200px;"></div>
  149. <div id="rotateHint"></div>
  150. <div class="intro" style="width: 800px;height: 500px;">
  151. <div class="intro-words">
  152. <p>年 代:西汉</p>
  153. <p>征集地:中国陕西西汉长安未央宫遗址</p>
  154. <p>体 量:口弦长7.2cm,宽2.7cm</p>
  155. <p>展品鉴定报告描述
  156. 标本锈蚀严重,口弦琴形态尚完全,能够观察到琴体、琴弦,两者为一体打造,看不到焊接痕迹,是较特殊的形态。金相分析结果显示,利用扫描电镜能谱仪进行分析,除铁锈外,还有黄铜的成分,并还有少量硫化物。在三岔处其金相组织为铁素体和珠光体组织,含碳量约0.4%,在本视场内未发现两块刚才锻接痕迹和其它类型的夹杂物。
  157. </p>
  158. </div>
  159. </div>
  160. </div>
  161. </body>
  162. </html>