Enlarge and swap images upon hovering in a 3-image panel segment

Looking to create a unique image panel with three sections that expand and change backgrounds on hover. The goal is for each section to seamlessly transition to full width without needing to move the mouse out of the section area first.

Currently, the expansion works but hovering over one expanded section prevents triggering the hover animation for other sections without moving the cursor outside the current section. For a visual demonstration, check out the jsfiddle link below.

https://jsfiddle.net/tr5km94w/1/

<div class="panel-test-background">
  <div class="panel-test-one"></div>
  <div class="panel-test-two"></div>
  <div class="panel-test-three"></div>
</div>

<div class="panel-container">
  <div class="panel-one">
    <div class="panel-text-one">
      <div class="text-top">
          <h3>section</h3>
          <br />
          <h1>Section Title No.01</h1>
          <br />
      </div>
    </div>
  </div>
  <div class="panel-two">
    <div class="panel-text-two">
        <div class="text-top">
            <h3>section</h3>
            <br />
            <h1>Section Title No.02</h1>
        </div>
    </div>
  </div>
  <div class="panel-three">
    <div class="panel-text-three">
        <div class="text-top">
            <h3>section</h3>
            <br />
            <h1>Section Title No.03</h1>
        </div>
    </div>
  </div>
 </div>

<style>
// CSS styles here
</style>

The main issue I'm encountering is that an expanded section takes up the full width, causing hover events in other sections to be overridden. Any tips or solutions on how to trigger animations for multiple sections without interference are appreciated.

Thank you

For inspiration, envisioning something like the image section on basicagency.com's homepage.

Answer №1

Upon closer inspection, I observed a discrepancy in the number of bullet points present during the initial phase - there seem to be only three instead of the required four before transitioning into the next section. It may prove beneficial to rectify this oversight.

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

A guide to replicating HTML using AngularJS

I am attempting to replicate HTML content using AngularJS. While I was successful using jQuery, it caused conflicts with Angular. Therefore, I aim to achieve the same result using AngularJS. Here is the code I have written: function printContent(el){ ...

Selections made within bottom columns in DevExtreme's DxDataGrid do not activate click events

Check out the code snippet below: <template> <div> <DxDataGrid :dataSource="viewerRoles"> <DxColumn data-field="name" caption="Ansicht" /> <DxColumn data-field="descripti ...

Utilize PHP to dynamically generate an HTML table with grouped data

Here is the structure of my MySQL database: productid | productname | category 1 XYZ News 2 ZYX News 3 vcb Info I would like to display this data in a table grouped by category as show ...

Upon inserting Node 5, an error with the code EINVALIDTYPE occurred in npm

Recently, after I upgraded to Node 5, I've been encountering an error in the terminal every time I try running anything with npm. npm -v: 2.14.12 Desperately attempting to update npm to the latest version: MacBook-Pro-de-MarceloRS:promo-auto-loan ...

Neatly incorporating a checkbox into a miniaturized image

I need help with the code snippet below, where I want each thumbnail image to have a checkbox overlay. I want the images to take up all the space in the table cell without any white space above. It is essential that the "left" and "right" divs are aligned ...

the process of configuring date string for x-axis labels in chartjs

I recently created a time scale chart using chart.js. However, I now want to change the labels in my data array to be in the format of 01-02-2017, 02-06-2017 instead of "4 February 2017", "9 February 2017" and so on. Below is my code: var aR = null; va ...

activate the design mode for iframes

I am having an issue with enabling design mode for an iframe using JavaScript. When creating the iframe inline, I can successfully turn on design mode by using the following code: iframe.contentDocument.designMode = "on"; However, if I load the iframe us ...

The application appears differently on a phone compared to how it looks on the ripple platform

Recently started experimenting with Apache Cordova, attempting to create a basic application. Here is how it looks in Google Chrome using Ripple for PhoneGap/Cordova emulation: https://i.sstatic.net/2MSwl.png When I click on the button, this is the resul ...

Tips for retrieving data from an external JSON API upon click without using the fetch method

I am currently working on developing a webpage that is compatible with IE11 and will be installed on multiple users' desktops. The webpage needs to retrieve data from a JSON API and display it. Users will need to input their unique API keys before cl ...

Access the HTML file through the Heroku Bash terminal

After deploying my Flask python application on Heroku, I encountered an issue with one line of my python code where I need to open an HTML file for some javascript to execute. While it works fine locally on my Mac, Heroku seems to have trouble recognizing ...

using angularjs to dynamically apply css styles

Below is the input I have: The HTML code is shown below: <input type="number" ng-class="{negative: amount < 0}" ng-model="amount"/> This is the corresponding CSS code: .negative { color: red; } If the amount is positive, no specif ...

Unable to locate the index.js entry file in React Native

I have a simple React Native application. I am attempting to test it on a virtual Android device by navigating to the project and running npm start -- --reset-cache. After terminating the process, I enter the command react-native run-android. Despite havin ...

JavaScript Divide Array

I am currently tackling the challenge of creating a custom string splitter function, and I must say, it's proving to be more complex than anticipated. Essentially, the function takes in a string and an array of delimiter values that the string will b ...

Unable to deploy service worker on Chrome browser

I am currently attempting to implement service workers in Chrome on localhost:3000. My application is built using AngularJS 1.5. The service worker does not seem to be activating properly. It transitions from the installing state to redundant. if (' ...

Error encountered when attempting to pass more than one value to a function due to syntax

My goal is to call a function, but I am encountering issues with properly escaping values and passing them correctly. The current setup looks like this: function selectdone(sel, title_id, status_type) { ... } $(function() { $("td.status-updates").click ...

ASP Table generating an additional property that is incompatible with HTML5 specifications

Currently experiencing an odd issue. Working with an ASP file that generates a basic table element. The markup includes <table>. Upon rendering, it is producing <table cellpadding="0" cellspacing="0"> in the final output. Seeking to eliminat ...

Tracking ajax calls with piwik: A step-by-step guide

I'm curious about how to enable piwik to track ajax requests. I know there is an API available, but I'm unsure about the exact steps I need to take in order to view ajax loaded pages in the dashboard. Could it be something like this: _paq.push( ...

Can a json file be generated and saved using PhoneGap's file system and JavaScript?

Is it feasible to gather user data and save it as a JSON file for JavaScript to retrieve each time the user interacts with the application? ...

Is there a more efficient method for removing items from an array in JavaScript?

Is there a more efficient technique for generating arrays? Take a look at my code: const [first, second, third, four, ...others] = allItems; return ( <div > {[first, second, third, four].map(). </div> ) Although I am us ...

After the completion of the AJAX request, navigate to the bottom of the specified

I have come across a solution on how to scroll to the bottom of a div here. However, it seems that it is not working for me, the same goes for autofocus. I suspect the problem lies in the fact that I am making an AJAX call, and it is not functioning prope ...