18
18
</ style >
19
19
</ head >
20
20
< body >
21
+
22
+ < nav >
23
+ < a href =". " class ="pat-inject " data-pat-inject ="source: body; target: body::after "> inject-extend</ a >
24
+ </ nav >
25
+
21
26
< h1 > Normal gallery</ h1 >
22
- < nav class ="pat-gallery " data-pat-gallery ="hide-overlay: 0 ">
27
+ < section class ="pat-gallery " data-pat-gallery ="hide-overlay: 0 ">
23
28
< a href ="full-1.jpg "
24
29
> < img
25
30
src ="thumb-1.jpg "
@@ -31,13 +36,13 @@ <h1>Normal gallery</h1>
31
36
< a href ="full-3.jpg "
32
37
> < img src ="thumb-3.jpg " title ="Photy by Paulo Brandao "
33
38
/> </ a >
34
- </ nav >
39
+ </ section >
35
40
36
41
< h1 > Gallery with mixed content</ h1 >
37
42
< p >
38
43
Only items which match the selecor ``a.add-to-gallery`` are added.
39
44
</ p >
40
- < nav
45
+ < section
41
46
class ="pat-gallery "
42
47
data-pat-gallery ="item-selector: a.add-to-gallery "
43
48
>
@@ -53,10 +58,10 @@ <h1>Gallery with mixed content</h1>
53
58
< a href ="full-3.jpg " class ="add-to-gallery "
54
59
> < img src ="thumb-3.jpg " title ="Photy by Paulo Brandao "
55
60
/> </ a >
56
- </ nav >
61
+ </ section >
57
62
58
63
< h1 > Image popups, not collected in a gallery</ h1 >
59
- < nav >
64
+ < section >
60
65
< a href ="full-1.jpg " class ="pat-gallery "
61
66
> < img
62
67
src ="thumb-1.jpg "
@@ -68,21 +73,21 @@ <h1>Image popups, not collected in a gallery</h1>
68
73
< a href ="full-3.jpg " class ="pat-gallery "
69
74
> < img src ="thumb-3.jpg " title ="Photy by Paulo Brandao "
70
75
/> </ a >
71
- </ nav >
76
+ </ section >
72
77
73
78
< h1 > Gallery adding directly images.</ h1 >
74
- < nav class ="pat-gallery " data-pat-gallery ="item-selector: img; ">
79
+ < section class ="pat-gallery " data-pat-gallery ="item-selector: img; ">
75
80
< img src ="full-1.jpg " />
76
81
< img src ="full-2.jpg " />
77
82
< img src ="full-3.jpg " />
78
- </ nav >
83
+ </ section >
79
84
80
85
< h1 > Gallery adding wrapped and unwrapped images.</ h1 >
81
86
< p >
82
87
The last image here is wrapped in a external link.< br />
83
88
The external link can be opened in a new tab, the image is included in the gallery.
84
89
</ p >
85
- < nav
90
+ < section
86
91
class ="pat-gallery "
87
92
data-pat-gallery ="item-selector: a.add-to-gallery, :not(.add-to-gallery) > img "
88
93
>
@@ -94,7 +99,7 @@ <h1>Gallery adding wrapped and unwrapped images.</h1>
94
99
< a href ="https://www.syslab.com/ " target ="_blank " class ="exclude-from-gallery "
95
100
> < img src ="full-4.jpg "
96
101
/> </ a >
97
- </ nav >
102
+ </ section >
98
103
99
104
(Timestamp to see if page has reloaded:
100
105
< script >
0 commit comments