代码改变世界

【备忘】とある画像の自动生成

  Nana's Lich  阅读(574)  评论(0编辑  收藏  举报

好吧,这是 IE Only 的版本,我是用在一个 MSHTA 工具里面的。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<html>
<head>
  <title>Untitled Page</title>
</head>
<body>
  <div style="position: relative;">
    <div id="divArtText" style="position: absolute; color: Red; font-family: MS PMincho;
      font-weight: bold; background-repeat: no-repeat; width: 400px; height: 200px; top: 0px;
      left: 0px; filter: progid:DXImageTransform.Microsoft.Alpha( style=1,opacity=100,finishOpacity=10,startX=0,finishX=25,startY=100,finishY=0);
      z-index: -10">
      <div id="divVoidCont">
        <div style="position: absolute; left: 44px; top: 23px; font-size: 82px;">
          
        </div>
        <div style="position: absolute; left: 95px; top: 48px; font-size: 54px;">
          
        </div>
        <div style="position: absolute; left: 132px; top: 41px; font-size: 37px;">
          
        </div>
        <div style="position: absolute; left: 154px; top: 29px; font-size: 74px;">
          
        </div>
        <div style="position: absolute; left: 220px; top: 41px; font-size: 61px;">
          
        </div>
        <div style="position: absolute; left: 275px; top: 38px; font-size: 66px;">
          
        </div>
        <div id="divJi" style="position: absolute; left: 69px; top: 106px; font-size: 69px;
          filter: progid:DXImageTransform.Microsoft.Compositor(function=6);">
          <div style="width: 69px; height: 69px; background-color: Red;">
          </div>
        </div>
        <div id="divJiRep" style="display: none;">
          
        </div>
        <div style="position: absolute; left: 141px; top: 106px; font-size: 61px;">
          
        </div>
        <div style="position: absolute; left: 190px; top: 98px; font-size: 73px;">
          
        </div>
        <div style="position: absolute; left: 249px; top: 97px; font-size: 88px;">
          
        </div>
      </div>
    </div>
    <div id="div1" style="position: absolute; color: Blue; font-family: MS PMincho; font-weight: bold;
      color: Orange; background-repeat: no-repeat; width: 400px; height: 200px; top: 0px;
      left: 0px; z-index: -11;">
      <div style="position: absolute; left: 44px; top: 23px; font-size: 82px;">
        
      </div>
      <div style="position: absolute; left: 95px; top: 48px; font-size: 54px;">
        
      </div>
      <div style="position: absolute; left: 132px; top: 41px; font-size: 37px;">
        
      </div>
      <div style="position: absolute; left: 154px; top: 29px; font-size: 74px;">
        
      </div>
      <div style="position: absolute; left: 220px; top: 41px; font-size: 61px;">
        
      </div>
      <div style="position: absolute; left: 275px; top: 38px; font-size: 66px;">
        
      </div>
      <div id="divJi2" style="position: absolute; left: 69px; top: 106px; font-size: 69px;
        filter: progid:DXImageTransform.Microsoft.Compositor(function=6);">
        <div style="width: 69px; height: 69px; background-color: Orange;">
        </div>
      </div>
      <div id="divJiRep2" style="display: none;">
        
      </div>
      <div style="position: absolute; left: 141px; top: 106px; font-size: 61px;">
        
      </div>
      <div style="position: absolute; left: 190px; top: 98px; font-size: 73px;">
        
      </div>
      <div style="position: absolute; left: 249px; top: 97px; font-size: 88px;">
        
      </div>
    </div>
  </div>
  <script language="jscript">
 
    divJi.filters.item(0).Apply();
    divJi.innerHTML = divJiRep.innerHTML;
    divJi.filters.item(0).Play();
 
    divJi2.filters.item(0).Apply();
    divJi2.innerHTML = divJiRep2.innerHTML;
    divJi2.filters.item(0).Play();
  </script>
</body>
</html>
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
点击右上角即可分享
微信分享提示