Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Faizi
ARproject1
Commits
d97fe903
Commit
d97fe903
authored
Jun 26, 2024
by
Faizi
Browse files
Update public/index.html
parent
55383a6c
Pipeline
#9793
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
d97fe903
...
...
@@ -58,6 +58,12 @@
footer
a
:hover
{
text-decoration
:
underline
;
}
iframe
{
width
:
100%
;
height
:
500px
;
border
:
none
;
display
:
none
;
/* Hidden by default */
}
</style>
</head>
<body>
...
...
@@ -67,13 +73,23 @@
</header>
<div
class=
"content"
>
<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>
<iframe
id=
"cubeProjectIframe"
src=
"cube-project.html"
></iframe>
</div>
<footer>
©
2023 HfT Stuttgart. Prepared By
<a
href=
"mailto:your.email@example.com"
>
Meena Faizi
</a>
.
</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>
</html>
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