I'm not sure why but this javascript code doesnt work. It's suppose to be an image slideshow.
<html>
#slideshow { position: relative; width: 640px; height: 960px; } #slideshow > div { position: absolute; }
Better try this in a Codepen...might be easier.
@Paulie_D it works on codepen but not on my text editor. But either way, here ya go. Pen
Any thoughts on why it might not be working? on the JS console on chrome i get this error "Uncaught ReferenceError: $ is not defined"
Maybe stupid questions but did you include jQuery before this script? Verified jQuery is actually loaded in network tab?
Are you loading in jQuery locally?
@CrocoDillon
Awww....come on...give me a chance!!
Never mind i got it working.
:P
So... what was the problem? I'm dying of curiosity!
I'm not sure why but this javascript code doesnt work. It's suppose to be an image slideshow.
Better try this in a Codepen...might be easier.
@Paulie_D it works on codepen but not on my text editor. But either way, here ya go. Pen
Any thoughts on why it might not be working? on the JS console on chrome i get this error "Uncaught ReferenceError: $ is not defined"
Maybe stupid questions but did you include jQuery before this script? Verified jQuery is actually loaded in network tab?
Are you loading in jQuery locally?
@CrocoDillon
Awww....come on...give me a chance!!
Never mind i got it working.
:P
So... what was the problem? I'm dying of curiosity!