Home › Forums › JavaScript › Need help making transparent transition in slideshow › Reply To: Need help making transparent transition in slideshow
November 26, 2016 at 12:50 pm
#248289
Participant
Because it was the basic path to the images that was used multiple times inside the array, I decided to take it out of there and apply it whenever the link itself is made. That way it only needs to be written out a single time and making the array more readable. You’ll notice I also appended .jpg
after it when defining the new image path. Not sure why it would fail under other circumstances. Are you trying locally or online?
Edit – I left out http:
as well which is valid and just a bit shorter too.