473,385 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Broken Slick Slider

97 64KB
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 2451

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,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.