-
Notifications
You must be signed in to change notification settings - Fork 1
/
explore2.html
121 lines (101 loc) · 3.41 KB
/
explore2.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
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/jquery.magnific-popup.js"></script>
<link rel="stylesheet" href="https://raw.githullllllbusercontent.com/dimsemenov/Magnific-Popup/master/dist/magnific-popup.css" />
<link rel="stylesheet" href="css/magnific-popup.css" />
<style>
.popup-gallery {
position: absolute;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
}
.mfp-gallery {
overflow-x: hidden;
overflow-y: auto;
z-index: 200000;
height: 100%;
position: absolute;
background-color: #2F3438;
width: 100%;
}
</style>
</head>
<body style="background-color: #2F3438;text-align: center;">
<div id="explorador" style="
/* margin-left: auto; */
/* margin-right: auto; */
overflow-x: hidden;
width: 100%;
/* text-align: center; */
"><img src="images/booo_explore.jpg" style="margin-left: -600px;position: absolute;left: 50%;display: block;width: 1200px;"></div>
<div class="popup-gallery" style="display: none">
<a href="galeria/00.jpg" title="Imagen 00"><img src="galeria/00.jpg"></a>
<a href="galeria/01.jpg" title="Imagen 00"><img src="galeria/01.jpg" ></a>
<a href="galeria/02.jpg" title="Imagen 00"><img src="galeria/02.jpg"></a>
<a href="galeria/02b.jpg" title="Imagen 00"><img src="galeria/02b.jpg"></a>
<a href="galeria/03.jpg" title="Imagen 00"><img src="galeria/03.jpg"></a>
<a href="galeria/03b.jpg" title="Imagen 00"><img src="galeria/03b.jpg"></a>
</div>
<script>
//$("#explorador").click(function() {
console.log("booo click");
/*
$('.popup-gallery').magnificPopup({
delegate: 'a',
type: 'image',
tLoading: 'Loading image #%curr%...',
mainClass: 'mfp-img-mobile',
image: {
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
titleSrc: function(item) {
return item.el.attr('title') + '<small>by Marsel Van Oosten</small>';
}
}
});
*/
$('#explorador').magnificPopup({
items: [
{
src: 'galeria/00.jpg'
},
{
src: 'galeria/01.jpg'
},
{
src: 'galeria/02.jpg'
},
{
src: 'galeria/03.jpg'
},
{
src: 'https://www.youtube.com/watch?v=Cd6JFC9Yr6Q',
type: 'iframe' // this overrides default type
}
/*,
{
src: $('<div>Dynamically created element</div>'), // Dynamically created element
type: 'inline'
},
{
src: '<div>HTML string</div>',
type: 'inline'
},
{
src: '#my-popup', // CSS selector of an element on page that should be used as a popup
type: 'inline'
}
*/
],
gallery: {
enabled: true
},
type: 'image' // this is default type
});
//});
</script>
</body>
</html>