rguo123 commited on
Commit
e564014
1 Parent(s): c616020

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +71 -1
README.md CHANGED
@@ -1 +1,71 @@
1
- Modifying README to introduce a change
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Modifying README to introduce a change
2
+
3
+ <html>
4
+ <head>
5
+ <title>Nomic Atlas</title>
6
+ <link rel="stylesheet" href="styles.css">
7
+ <style>
8
+ /* Add CSS styles to position the select element at the top */
9
+ body {
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ justify-content: flex-start;
14
+ min-height: 100vh;
15
+ margin: 0;
16
+ padding: 0;
17
+ font-family: Arial, sans-serif; /* Modern font */
18
+ color: #333; /* Text color */
19
+ }
20
+
21
+ h2 {
22
+ margin-top: 20px;
23
+ font-weight: bold; /* Bold font weight */
24
+ font-size: 24px; /* Font size */
25
+ }
26
+
27
+ select {
28
+ margin-top: 20px;
29
+ width: 300px;
30
+ font-size: 16px; /* Font size */
31
+ padding: 10px; /* Padding */
32
+ border-radius: 5px; /* Rounded corners */
33
+ border: 1px solid #ddd; /* Border */
34
+ background-color: #fff; /* Background color */
35
+ }
36
+
37
+ iframe {
38
+ margin-top: 20px;
39
+ margin-bottom: 20px; /* Bottom margin */
40
+ }
41
+ </style>
42
+ <script>
43
+ // Define the function to change the source of the iframe
44
+ function changeIframeSrc() {
45
+ // Get the dropdown element
46
+ var dropdown = document.getElementById('urlDropdown');
47
+
48
+ // Get the selected URL
49
+ var selectedUrl = dropdown.options[dropdown.selectedIndex].value;
50
+
51
+ // Get the iframe element
52
+ var iframe = document.getElementById('urlIframe');
53
+
54
+ // Set the iframe source to the selected URL
55
+ iframe.src = selectedUrl;
56
+ }
57
+ </script>
58
+ </head>
59
+ <div>
60
+ <h2>Nomic Atlas</h2>
61
+
62
+ <select id="urlDropdown" onchange="changeIframeSrc()">
63
+ <option value="https://atlas.nomic.ai/map/0488ba79-9a62-4c0d-b384-63e9a26b628b/d5e64288-6490-4c3c-a727-4ef6b133d6fc">Quora Questions</option>
64
+ <option value="https://atlas.nomic.ai/map/2a222eb6-8f5a-405b-9ab8-f5ab23b71cfd/1dae224b-0284-49f7-b7c9-5f80d9ef8b32">MNIST Logits</option>
65
+ <option value="https://atlas.nomic.ai/map/neurips">NeurIPS Proceedings</option>
66
+ <!-- Add more options as needed -->
67
+ </select>
68
+
69
+ <iframe id="urlIframe" src="https://atlas.nomic.ai/map/0488ba79-9a62-4c0d-b384-63e9a26b628b/d5e64288-6490-4c3c-a727-4ef6b133d6fc" width="800" height="600"></iframe>
70
+ </div>
71
+ </html>