metafizzy / metafizzy/flickity-fullscreen
hash link to fullscreen
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 49
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Hi desandro, I was wondering if its possible to link a specific image in fullscreen, so when click, it opens the fullscreen and scrolls to the desire img, also is it possible to link to a image with out the #photoX on the url?
<a class="comment_photo_fullscreen" href="#carousel-cell2">View cell 2</a>
<img class="carousel-image" id="carousel-cell2"....>
$(".comment_photo_fullscreen").click(function() {
$carousel.flickity('viewFullscreen');
});
Appreciate the help
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided .comment_photo_fullscreen click handler and its $carousel.flickity('viewFullscreen') call, then inspect how the #carousel-cell2 hash is handled. Done means a link can open fullscreen at the requested image and support linking without the #photoX URL fragment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100