Comments (3)
Try doing something like this for each thumbnail:
<a href="/path/to/image.jpg">
<img src="/path/to/thumbnail.jpg" />
<p class="description">Put all your stuff here.</p>
</a>
Then in your Poptrox config:
caption: { selector: ".description", remove: true }
from jquery.poptrox.
Still there is a problem with links in captions (which may be helpful for attribution). Nested anchors are illegal. Possible solution is to place anchor and it's caption into some container
from jquery.poptrox.
Still there is a problem with links in captions (which may be helpful for attribution). Nested anchors are illegal. Possible solution is to place anchor and it's caption into some container
Can confirm, linking in captions is still a problem.
from jquery.poptrox.
Related Issues (20)
- Touch navigation (mobiles) HOT 6
- Feature Request: support for history pushState and popState HOT 1
- popup windows sizing HOT 1
- Poptrox doesn't work with jQuery 3.1.0 HOT 2
- Ajax Result (append <li>...</li>): Uncaught TypeError: Cannot read property 'object' of undefined HOT 2
- Dynamically added captions doesn't show in the pop up modal
- Add a counter
- increase image dimensions if image is smaller than browser window HOT 1
- Gallery fails to load using jQuery 3.0.0+ HOT 2
- popupIsFixed: true is ignored
- vimeo url
- Fixed pop up, cant zoom or scroll in image HOT 1
- Fullscreen button for lightbox
- Lightgallery closes automatically when I click a nav arrow
- Background scrolling
- Moving navs outside of lightbox
- Soundcloud playlist
- Gallery on top of gallery?
- Adding an element
- How to add hyperlinks in captions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.poptrox.