質問編集履歴
2
タグ削除
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
デモイメージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -91,3 +91,143 @@
|
|
91
91
|
|
92
92
|
|
93
93
|
どうぞよろしくお願いいたします。
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
追記
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
```aspx
|
102
|
+
|
103
|
+
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm2.aspx.vb" Inherits="FLEX.WebForm2" %>
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<html xmlns="http://www.w3.org/1999/xhtml"
|
114
|
+
|
115
|
+
<head runat="server">
|
116
|
+
|
117
|
+
<meta http-equiv="X-UA-Compatible" content="IE=7" />
|
118
|
+
|
119
|
+
<title></title>
|
120
|
+
|
121
|
+
<style type = "text/css">
|
122
|
+
|
123
|
+
.unitnumber {
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
font-size: 130px;
|
128
|
+
|
129
|
+
position: fixed;
|
130
|
+
|
131
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
</style>
|
136
|
+
|
137
|
+
<script language="javascript" type ="text/javascript" >
|
138
|
+
|
139
|
+
function noClick(X, Y) {
|
140
|
+
|
141
|
+
//X,Yでクリック座標を取得
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
//テキストを消す
|
146
|
+
|
147
|
+
document.getElementById("TEXT").style.display = "none";
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
//取得した座標にある要素を取得
|
154
|
+
|
155
|
+
elemnt = document.elementFromPoint(X, Y);
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
//取得した要素にフォーカスを当てる
|
162
|
+
|
163
|
+
//elemnt.focus()
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
//取得した要素をクリック
|
168
|
+
|
169
|
+
elemnt.click()
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
//テキストを出す
|
174
|
+
|
175
|
+
document.getElementById("TEXT").style.display = "block";
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
}
|
180
|
+
|
181
|
+
</script>
|
182
|
+
|
183
|
+
</head>
|
184
|
+
|
185
|
+
<body>
|
186
|
+
|
187
|
+
<form id="form1" runat="server">
|
188
|
+
|
189
|
+
<div>
|
190
|
+
|
191
|
+
<div class="unitnumber" id="TEXT" onclick="noClick(event.clientX, event.clientY)"
|
192
|
+
|
193
|
+
style="font-family: メイリオ; font-weight: bold; font-size: 25vw; z-index: 10;" >TEXT</div>
|
194
|
+
|
195
|
+
<asp:Button ID="Button1" runat="server" Text="Button" Width="108px" />
|
196
|
+
|
197
|
+
<br />
|
198
|
+
|
199
|
+
<asp:DropDownList ID="DropDownList1" runat="server" Height="31px" Width="105px"
|
200
|
+
|
201
|
+
Font-Size="Larger">
|
202
|
+
|
203
|
+
<asp:ListItem>TEST1</asp:ListItem>
|
204
|
+
|
205
|
+
<asp:ListItem>TEST2</asp:ListItem>
|
206
|
+
|
207
|
+
<asp:ListItem>TEST3</asp:ListItem>
|
208
|
+
|
209
|
+
<asp:ListItem>TEST4</asp:ListItem>
|
210
|
+
|
211
|
+
<asp:ListItem>TEST5</asp:ListItem>
|
212
|
+
|
213
|
+
<asp:ListItem>TEST6</asp:ListItem>
|
214
|
+
|
215
|
+
</asp:DropDownList>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</div>
|
220
|
+
|
221
|
+
</form>
|
222
|
+
|
223
|
+
</body>
|
224
|
+
|
225
|
+
</html>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
```
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
デモイメージですがこんな感じです。ここのリストを触りたいです。
|