I'm having trouble getting Slick.js and the Foundation clearing lightbox to play nicely together. The way I have my site set up is that there are three 'pages', but each page is a Slick.js slide, so the site is really only one actual webpage.
In my photography 'slide', I have a basic lightbox setup with Foundation. However, I cannot get the lightbox to open properly when Slick.js is enabled. It works just fine when Slick.js is disabled.
You can see a live example here: www.kcfeatures.com/services.html
Here's a working live example (slick.js is disabled): www.kcfeatures.com/services1.html
For the life of me, I cannot figure out how to get it to work. My guess is that it has to do with the slick-track? Since the slick-track div is so wide it might be messing with how the lightbox is displayed. Lightbox also normally starts at the very top of the viewport, but with slick.js enabled it starts underneath the topbar, where the slider starts.
Any help or guidance would be greatly appreciated!
Even I tried to implement something similar but slick didn't allow my clearing lightbox to work.
Suggestions/Workarounds
Try Foundation 5 Reveal modal.
Have separate divisions for every thumbnail image that would contain the large version of the image. Tweak your code to trigger the reveal modal for every thumbnail displaying the larger version. However this will not allow you to move through other images as clearing lightbox would do. (You can implement a slick slider inside your reveal modal div to make that happen.)
How about using Foundation Tabs ?
I saw your website, except for the slide in effect of photography, videography and web design divs there is no need specific need for slick usage. I believe you can use Foundation Tabs and implement the same (Using clearing lightbox will be super easy now). If you want animation for your tabs you can refer Jquery Slide animations and implement the same for your tabs. You can also refer Foundation Tabs animation using this.
Related
I am building a Wordpress Theme and am using Envira to have a responsive Gallery. I want to add some CSS and javascript/jquery to add an animation to my three pictures in that gallery. I want them to appear and slide up from the bottom when scrolling to the section of that page. Here's an example of what I am looking for:
https://www.beau-rivage.ch
Basically, when you scroll down, you see those three pictures/slides coming up. I tried to google this but couldn't find any code that worked for me. So currently I do not have any code to share for this animation and the Envira Gallery pictures are just added via a shortcode. Can anyone help me and point me in the right direction?
Would much appreciate your support!
You can use animate.css (https://daneden.github.io/animate.css/) and wow.js combination if you don't want to write code manually.
Check https://wowjs.uk/ examples.
I have recently worked on a site that is effectively a series of long scrolling pages. It has some large background images the make use of a parallax effect as well as some carousels and regular text content. I am using [slick] by ken wheeler for the carousels. 1 I Live demo site here
My question is, is anyone aware of a way to create a carousel of large images (like the one pictured below)that also makes use of a parallax effect? the effect is currently achieved using the Parallax.js plugin (http://pixelcog.github.io/parallax.js/) but I am open to other plugins/approaches. Thanks in advance for any ideas or pointers in the right direction.
Screenshot of current carousel that I wish to add parallax effect scrolling to:
*edit: I have tried creating multiple slides within the carousel using the parallax.js method to add a background image. However this just keeps the first image used as a constant background and does not slide off screen when the arrow is clicked
My main layout is done trough fullpage.js and I've spent hours of making my page work the way i want it to. I've found photoswipe as a best solution for a gallery that will work with array of photos but the problem i get is that these 2 apparently don't work quite well together, atleast in my case. So the thing is, when you click on a img you see URL changing but the gallery doesn't show up. Only when i refresh the page gallery pops up but my fixed navigation and audio controls are on top of it. Is there any kind of solution to this problem or atleast a gallery that works with fullPage.js
Thanks
link to my current project
Read the fullpage.js FAQs
Particulary the question named "My other plugins don't work when using fullPage.js"
Short answer: initialize them in the afterRender callback of fullPage.js.
I'm having some trouble figuring out how to modify my gallery which runs on JS Colorbox on Shopify.
My storefront link is http://chillonbroadway-2.myshopify.com/
The major problem I'm having with the gallery is whenever I make the width bigger than the default, the images inside the gallery begin to shift out of focus beginning with the 2nd slider image. I'm convinced it's something with the javascript, I'm a beginner with the language and only know how to modify jqueries or premade scripts.
Please help!
Thanks!
I am currently developing a site and have a need for a javascript-based carousel/slider hybrid on the home page that fades between 3 or 4 different images automatically, giving the user the chance to click on one and go to another page on the site. I also need the different slides to have some sort of navigation, denoted either by names for each slide (like in the Coda slider effect) or by symbols (such as dots for each slide), to allow users to review their options before clicking on the slide to visit the particular highlighted section.
I have seen this done in many ways with flash , but the only javascript approach I have seen that meets my needs is the one used by Apple on the new iLife page (link). Does anyone have any ideas what they are using or if there is a project that is similar to their implementation?
Thanks in advance.
Unless I'm missing something, the navigation on iLife looks like a photo gallery where the large photo links to the destination. I've used the jQuery Galleria for photo galleries because the animation effects are superb. Also the forum provides helpful community-based support.
If you wanted a carousel-style animation with the images sliding left and right, might try the jQuery Carousel library. I have not used it myself though so cannot comment on its ease-of-use or quality.
jQuery animate or jCarousel
The YUI Carousel Control would be another starting point to have a look at. (Note as of writing it is currently in beta.)
Hey I am not sure how helpful this will be but check out this slider. It is super simple and has the navigation thumbnails i think you are looking for
http://codetutorial.caroshaw.com/jquery_image_slider.php