Update index.html
Browse files- index.html +11 -2
index.html
CHANGED
@@ -33,8 +33,17 @@
|
|
33 |
<div class="card">
|
34 |
<h1>Multi-Glau</h1>
|
35 |
<p>Welcome to Multi-Glau! Please click on the required model to proceed to the next step.<i>index.html</i> in the Files and versions tab.</p>
|
36 |
-
<a href="https://huggingface.co/spaces/Aohanah/Exp1" class="btn">Screening module</a>
|
37 |
-
<a href="https://huggingface.co/spaces/Aohanah/Exp2" class="btn">Pre-Diagnosis Module</a>
|
38 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
</body>
|
40 |
</html>
|
|
|
33 |
<div class="card">
|
34 |
<h1>Multi-Glau</h1>
|
35 |
<p>Welcome to Multi-Glau! Please click on the required model to proceed to the next step.<i>index.html</i> in the Files and versions tab.</p>
|
36 |
+
<a href="javascript:void(0)" onclick="customRedirect('https://huggingface.co/spaces/Aohanah/Exp1')" class="btn">Screening module</a>
|
37 |
+
<a href="javascript:void(0)" onclick="customRedirect('https://huggingface.co/spaces/Aohanah/Exp2')" class="btn">Pre-Diagnosis Module</a>
|
38 |
</div>
|
39 |
+
|
40 |
+
<script>
|
41 |
+
function customRedirect(url) {
|
42 |
+
// 在这里定义您想要的跳转行为,这里我们替换当前窗口
|
43 |
+
window.location.href = url; // 替换当前窗口
|
44 |
+
// 如果您想在新窗口打开链接,可以使用以下代码:
|
45 |
+
// window.open(url);
|
46 |
+
}
|
47 |
+
</script>
|
48 |
</body>
|
49 |
</html>
|