Slider functionality is no longer operational

After running smoothly for two and a half years, the slider on our website suddenly stopped working in Chrome today. This same slider is used across multiple pages, but now it fails to function on any of them.

For those with a retina screen, there is an alternative slider that still operates without issue.

To view one of the affected pages with the slider, click here:

The jquery file we are using is named: jquery-1.11.2.min.js

HTML:

<div id="container" class="hidephone" style="position: relative">
    <img src="../sold.gif" height="45" width="113" class="sold" />
    <ul>
        <li><img src="images/5-westgrove/1.jpg" class="round" width="1000" height="550" /></li>
        <li><img src="images/5-westgrove/2.jpg" class="round" width="1000" height="550" /></li>
        <!-- More image list items... -->
    </ul>
    <span class="button prevButton"></span>
    <span class="button nextButton"></span>
</div>

ON PAGE JAVASCRIPT:

$(window).load(function(){
    // JavaScript code for slider functionality
});

CSS:

#container{
    /* CSS styling for the slider container */
}

/* Additional CSS styles for the slider elements like buttons and images */

Answer №1

After some investigation, I was able to identify the issue.

Our website had been integrated with Cloudflare, causing all incoming traffic to be filtered through it. Once I deactivated Cloudflare, our sliders began functioning properly once more.

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

How can I convert Jquery ajax get parameters to ajax post parameters, such as '?name=2&name=3&name=4'?

When working with jQuery Ajax, I have encountered a situation where I need to post multiple values of the same field to the server. While one way is to add all values to the URL, I am curious about how to achieve this using the data attribute. There should ...

Regular expressions to eliminate leading zeros from a string, excluding those that are part of decimals

Looking for a JavaScript regex that can remove any leading 0 in a string if the string is an integer. 0 => '' 0000 => '' 001 => 1 0.11 => 0.11 0000.11 => 0.11 11000 => 11000 I've been attempting to solve t ...

I am having trouble understanding why my JavaScript code is bypassing the if statements

let emptyErr = [] if (!(req.body.title)) { emptyErr[0] = ('A title must be provided for a post!') } else if (!req.body.category) { emptyErr[1] = ('Please select a category for your post.') } else if (!req.body.content) { ...

React JS class components experiencing issues with setState() functionality

constructor(){ super(); this.state = { articles: this.articles, loading: false } } //this method is executed after the render method async componentDidMount(){ let url = "https://newsapi.org/v2/top-headlines?country= ...

Striking new design for bootstrap 3 datepicker with a unique custom theme - stunning appearance

After purchasing a custom Metro theme from the John Papa AngularJS/Breeze courses on Pluralsight, everything was running smoothly until I attempted to integrate a Bootstrap 3 date picker into the mix. Unfortunately, right off the bat, it looked quite messy ...

Hypertext Abstract Markup Language: Generating a data-xxx-yyy attribute

Creating a link with data-* attribute is simple: %a{ :href => "#", :data => { :name ="John", :age => 24 } } Hi John This will generate: <a href="#" data-name="John" data-age="24">Hi John</a> What about nesting data attributes? For ...

Having issues debugging in the browser as React seems to be undefined

I am trying to implement a Context system to store the login user's name and use it for protected routes. context.js import React from 'react'; const axios = require('axios'); export const AuthContext = React.createContext(null); ...

In JavaScript, a variable's value can be assigned to another variable using the variable

I have a collection of predetermined variables. I dynamically assign a value to another variable, which ends up representing the name of one of the predefined variables. This allows me to easily determine which set variable to use on a particular section o ...

HTML links have been disabled

I have been making updates to the charity website I manage, heroinitiative.org. You can view the revamp progress here: (please note that this is not live code, it is simply for my boss to see the progress and does not need to be kept secret, hence why I a ...

Is there a way to halt the polling process for the specific API handling the background task?

I have been using this polling function for executing background tasks. export const poll = ({ fn = () => {}, validate = (result) => !!result, interval = 1000, maxAttempts = 15, }) => { let attempts = 1; // eslint-disable-next-line con ...

Struggling with aligning items vertically in Bootstrap 4?

Despite my experience in programming, I am struggling with CSS and HTML. I am attempting to create a simple "Login Page" for my personal web application. GitHub: https://github.com/n-winspear/cashflow-webapp After trying various solutions suggested in ot ...

Steps to calculate the number of rows in a gridview on a webpage with asp.net by utilizing jQuery

Looking for some help with counting the number of rows in an asp:GridView using jQuery. If there are no rows present, I need to perform certain actions... ...

Preserve the datepicker even after selecting a date

I am currently using the datepicker feature from jQuery UI in my project. Below is a snippet of my initial code: $('#fromDate').datepicker({ showOtherMonths: true, minDate: 0, dateFormat: 'dd MM yy', onSelect: function(dateTex ...

Send the HTML string to the controller and embed it in an .html file using AngularJS

I am facing an issue with my button toggle functionality. Depending on the active status in the JSON data (1 for on and 0 for off), I want to display either the "off" or "on" button in HTML. I have attempted using ng-bind-html but it did not work as expect ...

Optimal method for conducting Jasmine tests on JavaScript user interfaces

After exploring the jasmine framework for the first time, I found it to be quite promising. However, I struggled to find a simple way to interact with the DOM. I wanted to be able to simulate user interactions such as filling out an input field, clicking ...

Struggling to incorporate react-native-svg-transformer into my metro.config.js setup

Looking to incorporate SVGs into my React Native app led me to consider using react-native-svg-transformer. However, I hit a roadblock when attempting to merge the GitHub metro.config.js with my local version due to significant differences in the configura ...

The $scope object in Angular is supposed to display the $scope.data, but for some reason, when I attempt to access it

Having an issue with my controller that fetches data from a service. After receiving the data in the controller, I'm using $scope to pass it to the view. Strange behavior - console.logs inside the 'then' function display the data correctly ...

Verify if the React component is empty

Within my react component, there's a class or component that contains a specific variable. Below is the relevant code snippet: import React from 'react'; export class Header extends React.Component { constructor() { super(); thi ...

Tips for creating responsive images in a Bootstrap template

I have done my research and tried numerous solutions, but I still can't get two images and a text to display in one line. The problem is when I shrink the window size, the images end up above and below the text instead of beside it. I have included th ...

Tips for resolving issues with intermittent 500 errors in AJAX scripts

Currently, I am utilizing an AJAX script to perform some database operations after an order is placed on my website. Below is how I include it in the order confirmation page: <script> // Defining the function function voucherRedeem(str) { if (windo ...