This repository was archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduct.html
More file actions
102 lines (99 loc) · 3.66 KB
/
Copy pathproduct.html
File metadata and controls
102 lines (99 loc) · 3.66 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link rel="stylesheet" href="./css/style.css">
<!-- DRIVEBACK SYNC EXPERIMENTS SNIPPET -->
<style>
.dbex-content-hide {
opacity: 0 !important
}
</style>
<script type="text/javascript">
window.DBEX_HIDE_CONTENT_STRATEGY = 'sync'; // async/sync (default: sync)
window.DBEX_HIDE_CONTENT_TIMEOUT = 1000; // minimum 1000/4000 for sync/async
</script>
<script type="text/javascript" src="./js/dbex-sync.min.js"></script>
<!-- // DRIVEBACK SYNC EXPERIMENTS SNIPPET -->
</head>
<body>
<section id="product">
<header>
<div class="container">
<div class="header-content">
<a href="./index.html">
<img src="./img/logo/db@2x.png" alt="logo">
</a>
</div>
</div>
</header>
<main>
<div class="container">
<div class="breadcrumb">
<a href="./index.html">Главная </a>
<span>|</span>
<p>Продукт</p>
</div>
<div id="product-item">
<img src="./img/macbook@2x.png" alt="">
<h2>Macbook Pro</h2>
<ul class="product-des">
<li>2-ядерный процессор Intel Core i5 7-го поколения с тактовой частотой 2,3 ГГц</li>
<li>Ускорение Turbo Boost до 3,6 ГГц</li>
<li>8 ГБ памяти LPDDR3 2133 МГц</li>
<li>SSD-накопитель ёмкостью 128 ГБ1</li>
<li>Графический процессор Intel Iris Plus Graphics 640</li>
<li>Два порта Thunderbolt 3</li>
</ul>
<button class="buy_button">Купить</button>
<div class="reviews">
<h2>Всего 2 отзыва</h2>
<div class="messages">
<div class="message">
<div class="triangle"></div>
<img src="./img/man.png" class="avatar">
<p>
<strong>Иван,
<em> 2018/05/12</em>
</strong>
Общие впечатления очень положительные. Все, что мне нужно. Ну, и конечно же, retina.</p>
</div>
<div class="message inverse">
<div class="triangle"></div>
<img src="./img/girl.png" class="avatar">
<p>
<strong>Мария,
<em> 2018/05/19</em>
</strong>
Долгое время работы, куча полезных фич и крутой дизайн. Куплен в конце октября, работает на ура, в общем получила то, что
хотела и ожидала.
</p>
</div>
</div>
</div>
</div>
</main>
</section>
<script type="text/javascript">
// buy button experiment
dbexSync('ca7f272a-e881-489f-948f-e61e84a3ec7b', [0.1, 0.3, 0.3, 0.3], {
1: function () {
jQuery('.buy_button').addClass('red');
},
2: function () {
jQuery('.buy_button').addClass('green');
},
3: function () {
jQuery('.buy_button').addClass('blue');
}
});
// reviews experiment
dbexSync('8ba98f9d-406c-4274-9ca2-bebd1492e9a5', [0.5, 0.5], {
1: function () {
jQuery('.reviews').hide();
}
});
</script>
</body>
</html>