Innovative split slider with interactive preview functionality

After extensive research, I have not been able to find a slider that meets the specific requirements of the designer. The concept is illustrated in the image below and allows for header/footer content above and below the slider.

A. The idea is to have the next image (2) partially visible on the right side, utilizing a fixed percentage of screen space, such as 10%.

B. The current image (1) will float to the left and fill the height, regardless if it is wide or narrow.

C. The amount of gray space shown will adjust based on the user's available screen space. As the images reach their full resolution, the gap will expand accordingly.

D. Conversely, when the available space decreases, the gap will shrink, and

E. Once the gap reaches a minimum size, the slides will begin to shrink.

F. Subsequently, the current slide (1) may be clipped from the left and right edges if necessary, especially with wide images.

G. The animation involves the next slide (2) sliding over to fill the initial gap, pushing out the current slide (1), creating a new gap, and then bringing in the following image partially.

Is there an existing slider that offers similar functionality, or would it be best to modify an existing one? For now, options like Flexslider have been explored, but issues arise with JavaScript resizing interfering with visibility on dual screens.

Unfortunately, image posting privileges are unavailable at this time. However, the example image can be viewed here: https://i.sstatic.net/H0qyS.jpg

Answer №1

Give this one a try...

Awesome carousel

Take a look at the provided examples on the website... it might assist with your question.
Here's another option: http://jsfiddle.net/JCQ6Q/15/
Good luck!
Please consider upvoting if this information is helpful to you. :)

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

When the mouse is clicked, rotate the object along its axis using OBJ Loader in THREE.js

I am looking to add a feature where my object rotates on its axis when the mouse is dragged. The challenge I am facing is that I can only access my skull object within the function, which limits where I can place a rotation increment inside render(). Coul ...

Controlling the Quantity of Selected Checkboxes with JavaScript

I am facing an issue with implementing multiple checkboxes with limits in JavaScript, as shown below. $(".checkbox-limit").on('change', function(evt) { var limit = parseInt($(this).parent().data("limit")); if($(this).siblings(':checked&ap ...

The font in my Next.js / Tailwind CSS project starts off bold, but unexpectedly switches back to its original style

I recently integrated the Raleway font into my minimalist Next.js application with Tailwind CSS. I downloaded the font family in .ttf format and converted it to .woff2, but I'm having trouble changing the font weight using custom classes like font-bol ...

Issue with accessing hamburger menu on Bootstrap site

I recently added a navigation bar to my website using the BootStrap documentation. However, when I switch to the mobile version and click on the hamburger menu, nothing happens. Below is the code snippet for reference: <nav class="navbar navbar-expand- ...

Establish a route nickname for files outside the project directory

I'm currently tackling a project that is divided into multiple angular projects. Within these projects, there are some services that are shared. Is there a way for me to incorporate these services into my project without encountering errors? /root / ...

Discover the power of utilizing JavaScript to sort through table rows by filtering them based on the selections of multiple checkbox

How can I create interdependent logic for checkbox sections in a form to filter based on all selections? I am looking for help with my code snippet that showcases checkboxes controlling the visibility of table rows: $(document).ready(function() { $(" ...

Is there a way to store JSON data in a constant variable using Node Fetch without encountering the error TypeError [ERR_INVALID_URL]: Invalid URL?

In my current NodeJS project, I am working on extracting data from a JSON file and then sending it to a constant variable in my app2.mjs. The goal is to organize this data into an array of objects and eventually save it into a database. However, when tryin ...

The success body of Jquery Ajax is not receiving any response

Despite trying various methods, I have been unsuccessful in retrieving the desired result from my jQuery ajax success function. I have included the jQuery library, but to no avail. Any guidance on where I may be going wrong in my code would be greatly appr ...

What is the best way to implement a Cascading Async Select feature using @atlaskit/select library?

I recently delved into React and I'm currently exploring how to create a Cascading Async Select (for example, selecting Country then City) using @atlaskit/select. As per the documentation, I utilized the option loadOptions in the initial Async Select ...

Redux: The action was effectively triggered, but the state remained unformed

I'm currently working on a project to familiarize myself with Redux. I am using the Redux DevTools to monitor my two states: lists and todos. However, I am running into an issue where only todos are being displayed, despite trying various troubleshoot ...

To initiate animation upon a click event, follow these steps

Every time I try to access this webpage, it immediately sends me to a different page. This particular code is set up to redirect to specified links on its own. Is there a way for me to modify this code so that it only redirects when clicked? ...

When the Model popup is activated, it is essential for elements to have an adequate color contrast

Our team is utilizing the axe dev tool for accessibility testing. We encountered an issue where elements behind a model popup (Kendo React model with position: absolute) were displaying insufficient color contrast errors. Upon changing the absolute positio ...

Inline-block elements within other inline-block elements may not wrap correctly

Perfect Solution from Oriol: Oriol provided a great solution to my issue. Instead of using inline-block on both containers, he suggested floating the first container and leaving the second container with no styling. Additionally, he recommended using overf ...

How do you effectively select tabs that are enabled using jQuery UI?

Is there a way to retrieve all the tabs that are currently enabled while multiple tabs exist and some are disabled within a jquery ui tab interface? ...

What is the reason behind the need to provide the complete string in my 'includes' statement?

Within my Node JS project, I am attempting to utilize an 'if includes' statement to filter the results extracted from a .txt file. The goal is to correlate the serial number entered by a user with specific models based on the first 5 numbers. I w ...

How to keep a div fixed while scrolling in an Angular application

My screen layout currently looks like this: https://i.sstatic.net/70DeL.png I am facing the challenge of rendering component 2 inside component 3 in the following manner: https://i.sstatic.net/gD9zF.png Unfortunately, due to certain restrictions, I can ...

Javascript provides the ability to return a JSON object containing a specific function name

Currently, I am in the process of mastering AngularJS, and recently came across this code snippet: .factory('cribs',function(){ var data = [{ name: "jack", last: 'doe' },{ name: 'hazel&apos ...

Need to include files within an electron / express application

I'm encountering challenges while setting up an app with: electron express (using mustache templating) firebase My struggle lies in correctly requiring files. The issue seems to stem from the varying "scope" being the electron app or express app, re ...

shimmering jquery effects

Hello everyone! I'm currently working on building my website at (just a heads up, it's still in the early stages so please be kind haha). Take a look at the menu - it seems to be causing a flickering issue in Chrome and Safari but works fine in ...

Tips for using jest toHaveBeenCalled with multiple instances

Currently, I am in the process of writing a test case for one of my functions. This function calls another function from a library, and I am attempting to mock this function (saveCall). Below is a snippet of the sample code in question: import { Call } fro ...