Skip to main content
alices74118196
Participant
December 12, 2017
Answered

JavaScript Slide Show Not working. (no errors in script).

  • December 12, 2017
  • 1 reply
  • 1069 views

Hello,

I am trying to create a functioning slideshow for my webpage. I have written the HTML, CSS and JavaScript, which is not showing any errors, so I can't work out the problem

If anyone could shed dome light I would be grateful!

This topic has been closed for replies.
Correct answer osgood_

Try surrounding your whole block of jQuery code in a $(document).ready function::::

$(document).ready(function() {

JQUERY GOES HERE

});

Failing that where did you get the code from?

1 reply

BenPleysier
Community Expert
Community Expert
December 12, 2017

Not seeing the whole of your document, I can only summise that you have not included the jQuery library to support the JavaScript that you have shown.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
alices74118196
Participant
December 12, 2017

Hello,

Thank you for replying,

here is a screenshot of what I think you mean,

I originally had the google one alone but the other was recommended on another forum, not sure if that is the problem?

Best,

Alice

osgood_Correct answer
Legend
December 12, 2017

Try surrounding your whole block of jQuery code in a $(document).ready function::::

$(document).ready(function() {

JQUERY GOES HERE

});

Failing that where did you get the code from?