Comments (2)
Hi,
This feature is available in v4, but I honestly do not remember about v3. I think it was not fully implemented. You can try to pass hash
option, like opts : { hash : "aaa" }
. I think that for full functionality you would have to check URL hash on start to see if Fancybox should start, and you would also have to watch URL hash change to see if you have to open/close Fancybox.
from fancybox.
I think a custom solution can be developed, each hash acts as a key to map to a specific URL, and when Dom loads and onReady we can check the window.location.hash, and if there is a hash to be acted upon, we simply act upon by firing the same iframe FB programmatic call that popped that lightbox in the first place.
from fancybox.
Related Issues (20)
- How to turn off the rotation animation of Fancybox.show() ?
- how do I force the close button of the popup to be "fixed" in position HOT 2
- Fancybox4 fullscreen on mobile HOT 2
- placing a close link in the lightboxed frame HOT 2
- Optimize mobile navigation on documentation site HOT 1
- `@fancyapps/fancybox doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.`
- What could be preventing Fancybox from running on mobile HOT 3
- navigator.userAgent flagged by Chrome
- Navigation is used in the address, which interferes interferes with ajax-navigation on site
- placeFocusBack not working on data-fancybox-trigger HOT 3
- Links events don't work inside a fancybox modal HOT 5
- thumbs options
- Drag image to to folder
- Image flickering when zooming in iOS Safari
- FancyApp Carousel plugin Sync expect a hardcode classname HOT 1
- Fancybox Not Opening pics on Safari HOT 2
- how to add class after fancybox-container? HOT 1
- Fancybox with Carousel error - Fixed
- Zoom bug in Safari version 14 and below HOT 2
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 fancybox.