Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Faizi
ARproject1
Commits
79e54788
Commit
79e54788
authored
11 months ago
by
Faizi
Browse files
Options
Download
Email Patches
Plain Diff
Update public/index.html
parent
55383a6c
32fame1mpg-master-patch-54775
1 merge request
!2
Update public/index.html
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/index.html
+17
-1
public/index.html
with
17 additions
and
1 deletion
+17
-1
public/index.html
+
17
-
1
View file @
79e54788
...
@@ -58,6 +58,12 @@
...
@@ -58,6 +58,12 @@
footer
a
:hover
{
footer
a
:hover
{
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
iframe
{
width
:
100%
;
height
:
500px
;
border
:
none
;
display
:
none
;
/* Hidden by default */
}
</style>
</style>
</head>
</head>
<body>
<body>
...
@@ -67,13 +73,23 @@
...
@@ -67,13 +73,23 @@
</header>
</header>
<div
class=
"content"
>
<div
class=
"content"
>
<p>
Click on one of the buttons below to explore the AR projects:
</p>
<p>
Click on one of the buttons below to explore the AR projects:
</p>
<button
class=
"button"
onclick=
"
location.href='c
ube
-p
roject
.html'
"
>
Cube Project
</button>
<button
class=
"button"
onclick=
"
showC
ube
P
roject
()
"
>
Cube Project
</button>
<button
class=
"button"
onclick=
"location.href='tap-to-place-project.html'"
>
Tap to Place Project
</button>
<button
class=
"button"
onclick=
"location.href='tap-to-place-project.html'"
>
Tap to Place Project
</button>
<iframe
id=
"cubeProjectIframe"
src=
"cube-project.html"
></iframe>
</div>
</div>
<footer>
<footer>
©
2023 HfT Stuttgart. Prepared By
<a
href=
"mailto:your.email@example.com"
>
Meena Faizi
</a>
.
©
2023 HfT Stuttgart. Prepared By
<a
href=
"mailto:your.email@example.com"
>
Meena Faizi
</a>
.
</footer>
</footer>
<script>
function
showCubeProject
()
{
const
iframe
=
document
.
getElementById
(
'
cubeProjectIframe
'
);
iframe
.
style
.
display
=
'
block
'
;
// Show the iframe
iframe
.
contentWindow
.
activateXR
();
// Start the AR experience if needed
}
</script>
</body>
</body>
</html>
</html>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets