-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproducto.html
696 lines (621 loc) · 30.1 KB
/
producto.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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Jekyll v3.8.6">
<script>
</script>
<title id="section-title">Agroganas · </title>
<link rel="canonical" href="https://getbootstrap.com/docs/4.4/examples/carousel/">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet"
href="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/sass/ui-assets/components/_elements.scss">
<link rel="stylesheet" href="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/css/ui.css">
<link rel="stylesheet" href="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/css/responsive.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<!-- Favicons -->
<link rel="icon" href="../assets/logo-only-icon.png" />
<link rel="shortcut icon" type="image/png" href="../assets/logo-only-icon.png" />
<link rel="apple-touch-icon" href="../assets/logo-only-icon.png" />
<style>
pre {
white-space: pre-wrap;
/* Since CSS 2.1 */
word-wrap: break-word;
/* Internet Explorer 5.5+ */
}
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
.videoWrapper {
position: relative;
padding-bottom: 56.25%;
/* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
<!-- Custom styles for this template -->
<link href="https://getbootstrap.com/docs/4.4/examples/carousel/carousel.css" rel="stylesheet">
<script data-dapp-detection="">
(function () {
let alreadyInsertedMetaTag = false
function __insertDappDetected() {
if (!alreadyInsertedMetaTag) {
const meta = document.createElement('meta')
meta.name = 'dapp-detected'
document.head.appendChild(meta)
alreadyInsertedMetaTag = true
}
}
if (window.hasOwnProperty('web3')) {
// Note a closure can't be used for this var because some sites like
// www.wnyc.org do a second script execution via eval for some reason.
window.__disableDappDetectionInsertion = true
// Likely oldWeb3 is undefined and it has a property only because
// we defined it. Some sites like wnyc.org are evaling all scripts
// that exist again, so this is protection against multiple calls.
if (window.web3 === undefined) {
return
}
__insertDappDetected()
} else {
var oldWeb3 = window.web3
Object.defineProperty(window, 'web3', {
configurable: true,
set: function (val) {
if (!window.__disableDappDetectionInsertion)
__insertDappDetected()
oldWeb3 = val
},
get: function () {
if (!window.__disableDappDetectionInsertion)
__insertDappDetected()
return oldWeb3
}
})
}
})()</script>
</head>
<body>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.23.0/firebase-firestore.js"></script>
<header>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<div class="d-none d-md-block"></div>
<img class="bd-placeholder-img" width="230px" src="../../assets/logo agroganas nuevo-04.png"
focusable="false" role="img">
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse"
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item ">
<a class="nav-link" href="../../index.html">Inicio </a>
</li>
<li class="nav-item dropdown active">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown3" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Productos
<span class="sr-only">(current)</span>
</a>
<ul class="dropdown-menu bg-dark scrollable-menu" aria-labelledby="navbarDropdown3">
<a class="dropdown-item text-white" href="../sections/index.html?cat=Agroinsumos">Insumos
Agrícolas</a>
<a class="dropdown-item text-white" href="../sections/index.html?cat=Maquinaria">Maquinaria
Agricola</a>
<a class="dropdown-item text-white" href="../sections/index.html?cat=Seguros">Seguros</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=AgriculturaPresicion">Agricultura de Presición</a>
<a class="dropdown-item text-white" href="../sections/index.html?cat=Insumos">Insumos
Nutricion Animal</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=NucleosCorrectoresSuplementos">Núcleos, Correctores y
Suplementos</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=InstalacionesAgroganaderas">Instalaciones
Agroganaderas</a>
<a class="dropdown-item text-white" href="../sections/index.html?cat=Forrajes">Forrajes</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=InsumosVeterinarios">Insumos Veterinarios</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=Instalaciones">Instalaciones</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=Generadores">Generadores de Energia</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=BalanzasBasculas">Balanzas y Basculas</a>
<a class="dropdown-item text-white" href="../sections/index.html?cat=Tanques">Tanques</a>
<a class="dropdown-item text-white" href="../sections/index.html?cat=CamposInmuebles">Campos
- Estancias</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=Herramientas">Herramientas</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=HerramientasJardin">Herramientas de Jardin</a>
<a class="dropdown-item text-white"
href="../sections/index.html?cat=ArticulosRurales">Articulos Rurales y Herramientas</a>
<a class="dropdown-item text-white" href="../sections/index.html?cat=OleoHidraulica">Oleo
Hidraulica</a>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="../../agronomias-virtuales/index.html">Agronomías Virtuales</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../../contacto.html">Contacto</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="../../opiniones.html">Opiniones y Sugerencias</a>
</li>
</ul>
<form id="search-form" class="form-inline mt-2 mt-md-0" action="../../busqueda/index.html" method="GET">
<input id="barraBusqueda" name="search" class="form-control mr-sm-2" type="text"
placeholder="Buscar..." aria-label="Buscar" required>
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Buscar</button>
</form>
</div>
</nav>
</header>
<main role="main">
<br>
<br>
<style>
fieldset.active {
display: block !important
}
fieldset {
display: none
}
.pic0 {
width: 82%;
margin-left: 85px;
margin-right: auto;
display: block
}
.product-pic {
padding-left: auto;
padding-right: auto;
width: 100%
}
.thumbnails {
position: absolute
}
.fit-image {
width: 100%;
object-fit: cover
}
.tb {
width: 62px;
height: 62px;
border: 1px solid grey;
margin: 2px;
opacity: 0.4;
cursor: pointer
}
.tb-active {
opacity: 1
}
.thumbnail-img {
width: 60px;
height: 60px
}
@media screen and (max-width: 768px) {
.pic0 {
width: 242px;
}
}
</style>
<style>
.gallery-wrap .img-big-wrap img {
height: 450px;
width: auto;
display: inline-block;
cursor: zoom-in;
}
.gallery-wrap .img-small-wrap .item-gallery {
width: 60px;
height: 60px;
border: 1px solid #ddd;
margin: 7px 2px;
display: inline-block;
overflow: hidden;
}
.gallery-wrap .img-small-wrap {
text-align: center;
}
.gallery-wrap .img-small-wrap img {
max-width: 100%;
max-height: 100%;
object-fit: cover;
border-radius: 4px;
cursor: zoom-in;
}
</style>
<div class="container">
<hr>
<div class="card" id="detail-card" hidden>
<div class="row no-gutters">
<aside class="col-sm-5 border-right">
<article class="gallery-wrap">
<div class="">
<center>
<div>
<br>
<a href="#">
<img class="img-fluid" style="max-height: 60vh;" id="details-first-image"
src="">
</a>
</div>
</center>
</div> <!-- Primera imagen -->
<div class="">
<br>
<hr>
<center>
<button id="btnDetailsPhotos" type="button" class="btn btn-primary"
data-toggle="modal" data-target="#imgModal">
</button>
</center>
<br>
</div> <!-- slider-nav.// -->
</article> <!-- gallery-wrap .end// -->
</aside>
<aside class="col-sm-7">
<article class="card-body p-5">
<h3 id="detail-title" class="title mb-3"></h3>
<p class="price-detail-wrap" hidden>
<span class="price h3 text-warning">
<span class="currency">US $</span><span class="num">1299</span>
</span>
<span>/per kg</span>
</p> <!-- price-detail-wrap .// -->
<dl class="item-property">
<dt>Descripción</dt>
<dd>
<p id="detail-description"></p>
</dd>
</dl>
<dl class="param param-feature">
<dt>Categoria</dt>
<dd id="detail-category"></dd>
</dl> <!-- categoria .// -->
<dl class="param param-feature">
<dt>Publicante</dt>
<dd id="detail-publicante"></dd>
</dl> <!-- publicante .// -->
<dl class="param param-feature">
<dt>Ubicación</dt>
<dd id="detail-ubicacion"></dd>
</dl> <!-- ubicacion .// -->
<dl class="param param-feature">
<dt>Propiedades</dt>
<dd id="detail-propiedades"></dd>
</dl>
<!--propiedades .// -->
<div class="row" hidden>
<div class="col-sm-5">
<dl class="param param-inline">
<dt>Quantity: </dt>
<dd>
<select class="form-control form-control-sm" style="width:70px;">
<option> 1 </option>
<option> 2 </option>
<option> 3 </option>
</select>
</dd>
</dl> <!-- item-property .// -->
</div> <!-- col.// -->
<div class="col-sm-7">
<dl class="param param-inline">
<dt>Size: </dt>
<dd>
<label class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions"
id="inlineRadio2" value="option2">
<span class="form-check-label">SM</span>
</label>
<label class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions"
id="inlineRadio2" value="option2">
<span class="form-check-label">MD</span>
</label>
<label class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions"
id="inlineRadio2" value="option2">
<span class="form-check-label">XXL</span>
</label>
</dd>
</dl> <!-- item-property .// -->
</div> <!-- col.// -->
</div> <!-- row.// -->
<hr>
<div class="container"></div>
<div class="row">
<div class="col-4">
<a id="detail-consultar" href="#" class="btn btn-success text-uppercase">
Consultar </a>
</div>
<div class="col-8 text-right">
<button class="btn btn-primary text-uppercase" type="button" id="share-btn"> <i
class="fa fa-share-alt" aria-hidden="true"></i>
Compartir </button>
</div>
</div>
</div>
</article> <!-- card-body.// -->
</aside> <!-- col.// -->
</div> <!-- row.// -->
</div> <!-- card.// -->
</div>
<br>
<hr>
<br>
<!--container.//-->
<!-- Modal Imagenes/Video-->
<div class="modal fade" id="imgModal" data-backdrop="static" data-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">Imagenes</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col">
<div class="accordion" id="accordionExample">
<div class="card" id="video-section">
<div class="card-header" id="headingTwo">
<h2 class="mb-0">
<button class="btn btn-block text-left collapsed" type="button"
data-toggle="collapse" data-target="#collapseTwo"
aria-expanded="false" aria-controls="collapseTwo">
<i class="fa fa-play"></i> Videos
</button>
</h2>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo"
data-parent="#accordionExample">
<div class="card-body">
<center style="width: 100%;">
<div class="videoWrapper">
<iframe id="videoPlayer" allowfullscreen></iframe>
</div>
</center>
<div style="width: 100%;" id="controls">
<div class="row">
<div class="col-6">
<button class="btn btn-primary btn-sm" id="prevVideo">
<i class="fa fa-backward"></i> Video Anterior
</div>
<div class="col-6" style="text-align: end;">
<button class="btn btn-primary btn-sm" id="nextVideo">
Video Siguiente <i class="fa fa-forward"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingOne">
<h2 class="mb-0">
<button class="btn btn-block text-left" type="button"
data-toggle="collapse" data-target="#collapseOne"
aria-expanded="true" aria-controls="collapseOne">
<i class="fa fa-eye"></i> Imagenes
</button>
</h2>
</div>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne"
data-parent="#accordionExample">
<div class="card-body">
<div class="container-fluid px-sm-1 py-5 mx-auto">
<div class="row justify-content-center">
<div class="d-flex">
<div class="">
<div class="d-flex flex-column thumbnails"
id="imgThums">
</div>
<div id="imgSrcs">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cerrar</button>
</div>
</div>
</div>
</div>
<!-- FOOTER -->
<footer class="container">
<p class="float-right"><a href="#">Ir al principio de pagina</a></p>
<p>© 2020 Agroganas · <a href="terminos-y-condiciones.html">Terminos y Condiciones</a></p>
</footer>
</main>
<style>
.dropdown-menu>a:hover,
.dropdown-menu>li>a:focus {
background-color: gray;
}
.scrollable-menu {
height: auto;
max-height: 400px;
overflow-x: hidden;
}
.dropdown-toggle::after {
transition: transform 0.15s linear;
}
.show.dropdown .dropdown-toggle::after {
transform: translateY(3px);
}
.dropdown-menu {
margin-top: 0;
}
.carousel {
height: 100%;
}
.carousel-item,
.carousel-inner,
.carousel-inner img {
width: 100%;
height: 100%;
}
.carousel-item {
text-align: center;
}
#portfolio {
background: #356;
}
</style>
<style>
.btn-whatsapp {
display: block;
width: 70px;
height: 70px;
color: #fff;
position: fixed;
right: 20px;
bottom: 20px;
border-radius: 50%;
line-height: 80px;
text-align: center;
z-index: 999;
}
</style>
<div id="hzImg"
style="border: 1px solid rgb(0, 0, 0); line-height: 0; overflow: hidden; padding: 2px; margin: 0px; position: absolute; z-index: 2147483647; border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.33) 3px 3px 9px 5px; opacity: 1; top: 96px; left: -8px; background-color: rgb(0, 0, 0); cursor: pointer; pointer-events: none; display: none;">
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"
integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"
integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<style>
.dropdown-menu>a:hover,
.dropdown-menu>li>a:focus {
background-color: gray;
}
.scrollable-menu {
height: auto;
max-height: 400px;
overflow-x: hidden;
}
.dropdown-toggle::after {
transition: transform 0.15s linear;
}
.show.dropdown .dropdown-toggle::after {
transform: translateY(3px);
}
.dropdown-menu {
margin-top: 0;
}
.carousel {
height: 100%;
}
.carousel-item,
.carousel-inner,
.carousel-inner img {
width: 100%;
height: 100%;
}
.carousel-item {
text-align: center;
}
#portfolio {
background: #356;
}
</style>
<script>
const $dropdown = $(".dropdown");
const $dropdownToggle = $(".dropdown-toggle");
const $dropdownMenu = $(".dropdown-menu");
const showClass = "show";
$(window).on("load resize", function () {
if (this.matchMedia("(min-width: 768px)").matches) {
$dropdown.hover(
function () {
const $this = $(this);
$this.addClass(showClass);
$this.find($dropdownToggle).attr("aria-expanded", "true");
$this.find($dropdownMenu).addClass(showClass);
},
function () {
const $this = $(this);
$this.removeClass(showClass);
$this.find($dropdownToggle).attr("aria-expanded", "false");
$this.find($dropdownMenu).removeClass(showClass);
}
);
} else {
$dropdown.off("mouseenter mouseleave");
}
});
</script>
<script type="text/javascript" src="dataGet2.js?version=2"></script>
<script>
getOneProduct(productIdDetails);
var shareButton = document.getElementById('share-btn');
var url = window.location.href;
shareButton.addEventListener('click', event => {
if (navigator.share) {
navigator.share({
title: 'Publicacion de Agroganas',
url: url
}).then(() => {
console.log('Gracias por Compartir!');
})
.catch(console.error);
} else {
shareDialog.classList.add('is-open');
}
});
</script>
</body>
</html>