-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategory1-product3.html
36 lines (36 loc) · 1.98 KB
/
category1-product3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-href-component.min.js"></script>
</head>
<script>
</script>
<body>
<a-scene>
<a-text value="Go Back to Categories" color="#000" position="-4.5 2.7 -4.5" align="left" href="index.html" >
</a-text>
<a-image id="category1-product3"
event-set__click="_event: click; _target: #cartText2; visible: true"
src="https://cdn.glitch.com/4591eb96-0e6c-40d3-bbfd-0d88e186e30b%2FJeans-29.png?1506005308475"
position="-3.6 1.200 -3.21">
<a-text id="cartText2" value="Added to Cart" align="center"
color="#FFF" visible="false" position="0 -0.55 0.55"
geometry="primitive: plane;height=330; width: 1.75" material="color: #333">
<a-animation begin="click" easing="ease-in"
attribute="scale" fill="forwards"
from="0.1 0.1 0.1" to="0 0 0" repeat="1" dur="1500"></a-animation>
</a-text>
</a-image>
<a-camera look-controls wasd-controls cursor="maxDistance: 30; fuse: true" position="-1.0 -0.58 6.0" >
<!-- progress bar -->
<a-entity position="0 0 -3" geometry="primitive: ring; radiusOuter: 0.07;radiusInner: 0.05;" material="color: cyan; shader: flat"
cursor="maxDistance: 30; fuse: true; fuseTimeout: 1500.000">
<!--<a-cursor color="red"></a-cursor>-->
<a-animation begin="click" easing="ease-in" attribute="scale" fill="forwards" from="0.1 0.1 0.1" to="1 1 1" dur="1500"></a-animation>
<a-animation begin="fusing" easing="ease-in" attribute="scale" fill="backwards" from="1 1 1" to="0.1 0.1 0.1" dur="1500"></a-animation>
</a-entity>
</a-camera>
</a-scene>
</body>
</html>