Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 48920a3

Browse files
committed
Add "How to reposition thumbnail grid"
1 parent 05a449a commit 48920a3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/index.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,9 +1136,9 @@ <h2 id="modules">Modules</h2>
11361136
</p>
11371137

11381138
<pre><code>$('[data-fancybox="images"]').fancybox({
1139-
thumbs : {
1140-
showOnStart : true
1141-
}
1139+
thumbs : {
1140+
showOnStart : true
1141+
}
11421142
})</code></pre>
11431143
<p class="demo">
11441144
<a href="https://codepen.io/fancyapps/pen/RKKVVa?editors=1010" target="_blank">View demo on CodePen</a>
@@ -1275,6 +1275,15 @@ <h3>How to create custom button in the toolbar</h3>
12751275
<a href="http://codepen.io/fancyapps/pen/dNGapJ" target="_blank">View demo on CodePen</a>
12761276
</p>
12771277

1278+
<h3>How to reposition thumbnail grid</h3>
1279+
1280+
<p>
1281+
There is currenty no JS option to change thumbnail grid position.
1282+
But fancyBox is designed so that you can use CSS to change position or dimension for each block
1283+
(e.g., content area, caption or thumbnail grid).
1284+
This gives you freedom to completely change the look and feel of the modal window, if needed.
1285+
<a href="http://codepen.io/fancyapps/pen/vgRajd" target="_blank">View demo on CodePen</a>
1286+
</p>
12781287

12791288
</div>
12801289

0 commit comments

Comments
 (0)