473,472 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Broken Slick Slider

97 New Member
I cannot figure out why my slider won't run. I had it working fine, then I tried to make it scroll vertically rather than horizontally and now it's broken, even though I've reset all the settings to standard.

This is the HTML:

Expand|Select|Wrap|Line Numbers
  1. <div class="carousel">
  2. <div><img src="images/slider/worlds.png" alt="" width="200" height="140"></div>
  3. <div><img src="images/slider/gonz2.png" alt="" width="200" height="140"> </div>
  4. </div>
  5. <aside class="slider-frame"></aside>
  6.  
I have the slick folder in my application tree and I have the CSS and JS linked. The CSS is in the head section like so:

Expand|Select|Wrap|Line Numbers
  1. /* Main Site Stylesheet */
  2. <link rel="stylesheet" type="text/css" href="css.css" />
  3. /* Slick Stylesheet */
  4. <link rel="stylesheet" type="text/css" href="slick/slick.css"/>
  5.  
JS linked in the head section (I've tried putting this in the footer as well):

Expand|Select|Wrap|Line Numbers
  1. // jQuery
  2. <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
  3. // Main Site JS
  4. <script type="text/javascript" src="js/ur-js.js"></script>
  5.  
JS in the footer:

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript" src="slick/slick.min.js"></script>
  2.  
Main JS File:

Expand|Select|Wrap|Line Numbers
  1.  $(document).ready(function(){
  2.   $('.carousel').slick({
  3.   autoplay:true,
  4.   autoplaySpeed:45,
  5.   arrows:false,
  6.   dots:false,
  7.   infinite:true,
  8.   pauseOnHover: false
  9.   });
  10. });
  11.  
Some conflicts could be the Facebook Page Plugin (removed all code - did nothing) or Google Maps (not even on the same page of the site). No errors in dev tools console, nothing showing in sources debugging, however it's running in the background. It's just that the images on the screen don't change. When I check the code in the Chrome Dev Tools, the active image is changing in the html list of images. It seems to be using the correct timing as per the settings too, but it's just stuck on the initial image in the actual site window.
Oct 12 '15 #1
0 2455

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jason Charalambides | last post by:
I need to assign a slider to determine a percentage value for a certain variable in my program. I decided to use a slider so that the user will be able to manually set a value between 0.000... to...
1
by: Israel | last post by:
The problem: I want to know, definitively when a slider loses focus after a user has started sliding and hasn't released the mouse yet. It appears that this is captured with the WM_ACTIVATEAPP...
20
by: fatfatpopo | last post by:
Anyone who understand the codes below, can you please kindly explain to me by adding comments.. thanks in advance // <applet code="ImageSlider" width="400" height="400"></applet> import...
6
by: cmgmyr | last post by:
Hello, I'm trying to figure out how to disable a slider through the onChange function. Here is what I have so far: new Control.Slider('handle','slider', { axis:'horizontal', sliderValue: 1,...
0
by: Gurpreet Singhh | last post by:
How to focus dojo slider to a particular value (say 2.5 )on the slider and then disabling dojo slider so that value not changes on clicking on the dojo slider?ie i want to focus dojo slider to a...
1
by: UmairahMohd | last post by:
.theme-default #slider { width:570px; /* Make sure your images are the same size */ height:227px; /* Make sure your images are the same size */ float: right; margin-top: 0px; margin-right:...
0
by: Rorykin | last post by:
import javax.swing.JApplet; import java.awt.BorderLayout; import javax.swing.JSlider; import java.awt.*; import java.applet.*; public class SliderTest extends JApplet { public void...
0
by: tdrsam | last post by:
I'm using Ken Wheeler's Slick Slider with some videos but for some reason the first video in the cue doesn't play. It plays after the list has played through and it goes back to the first video,...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.