Javascript Slideshow does not run

Username (e.g. epiz_XXX) or Website URL

epiz_30707714 fast-trak.xyz

Error Message

No error message the slideshow is just blank.

Other Information.

My web authoring program can generate code for a slideshow with transitions and other java effects, BUT it will not run.

Below is a small sample of the html

/-->
</script>
<script type="text/javascript">
<!--
function PreloadImages()
{
   var imageObj = new Image();
   var images = new Array();
   images[0]="./images/Mærsk_Mc-Kinney_Møller.jpg";
   images[1]="./images/Diary Fat Replacements.jpg";

I have been told java scripts will not run on websites??
But the navigation Menu is also JS and works fine??

(other information and details relevant to your question)
Any hep is appreciated.

Welcome @Gazinbali2!

That’s not how you embed JavaScript in HTML. It should be…

<script>
function PreloadImages()
{
   var imageObj = new Image();
   var images = new Array();
   images[0]="./images/Mærsk_Mc-Kinney_Møller.jpg";
   images[1]="./images/Diary Fat Replacements.jpg";
</script>
3 Likes

Thank you w3schools…
I will give it a try, im not a coder by any means,.,

the code is all generated by the Web page maker.
( www.bluevoda.com)
if you download the program the registration codeword is “vodalove”
Gary

Also the slideshow works perfectly Offline… but will not run from the webhost… infinityfree.net

Did you update the code?

Since you say it’s working locally, can you screenshot what it is supposed to look like?

Thanks!

Edit:

Are these lines supposed to be there?


bv.slideshow.js 404 not exist

testimonials_script.js 404 not exist

dir Scripts not exist

etc.etc…

Please upload all necessary files

5 Likes

Thank you all for you support with this problem :grinning_face_with_smiling_eyes:

It will be much easier if you download the webage complete from here. Upload files for free - Fast Track slideshow.zip - ufile.io
You will also notice on this page… that some pictures not in the slideshow have an ACTION assiciated with their title… This also does not work… but … no biggie i guess.

Hmm that link did not post cottectly…
https:// ufile. io/2ms1rmjc

The link posted just fine. The forum software will fetch a preview of the page, which is why it shows the file sharing site title.

Also, I downloaded the site, and I only see a bunch of images, not a full website.

The slideshow itself is not working for two reasons:

The initial image is called Mærsk_Mc-Kinney_Møller.jpg. In your HTML, the file name is URL-encoded as M%E6rsk_Mc-Kinney_M%F8ller.jpg. But when I encode the file name myself, I get M%C3%A6rsk_Mc-Kinney_M%C3%B8ller.jpg. So the URL in your page doesn’t match the file name, which is why the image is not found. The change is likely caused by the code not being generated with UTF-8 character encoding.

To fix this, the easiest solution is to remove the special characters. If you call the file Maersk_Mc-Kinney_Moller.jpg instead, you can avoid all character encoding and subsequent issues.

The slideshow itself doesn’t work because the URL http://fast-trak.xyz/bv.slideshow.js cannot be found. This is what @Oxy already said. You need to upload the missing file. It’s possible that actually uploading the slideshow code may also fix the action issue.

3 Likes

Thank you so much…
You say you downloaded the site…actually l uploaded a zip file for you with an all new images that are simply numbered 1.jpg thru 11.jpg… So as to bypass all.the naming problems.
Thats the file at ufile.io.
That has the complete index page.

l will look for a copy of slideshow.js…but as l have said…it runs offline…l hv not changed anything…just uploaded the exact same page to my site.

I also download your zip and there is no index file just images.

But it doesn’t matter - because we see your index file
this is not a PHP file so the code is not visible,
it’s plain html that can be seen with mouse right click > “show page source”

No need to share zip files

Check if all these files are uploaded

compare everything you have locally with what you have on hosting

FTP upload can be incomplete
so make sure with your own eyes that all the files are in place

4 Likes

Gentlemen…
I have re-upped a new index page… there is some improvement.
The initial page of the slideshow is now visible, but it does not advance.
All pics for the slideshow have been rename 1-11.jpg
bv.slideshow.js has been added.
I saw a comment about the page being php… so i tried renaming it…
but it made no difference… Its back to html now.
You have probably see the other JS scripts that are Mouseover Action, so I have also uploaded index noaction.html just in case they were the cause of the problem… If you can get BOTH of these working… that would be terrific… but if just the slideshow… thats also great.
Would you kindly check again now… and see if you can spot the problem.
Thanks

You still have a file missing

Scripts/testimonials_script.js

1 Like

bv.slideshow.js 404 not exist (Uploaded)

testimonials_script.js 404 not exist

dir Scripts not exist
Please upload these files.

I’m sorry… these folders do not exist on my machine either,

Well that is probably what is affecting this from working right. Without knowing what those scripts do, we can’t really say if they are the cause here or not.

If it is working locally, it should work just fine here, as long as you uploaded everything exactly right, and everything is configured for the domain.

1 Like

Yes I hv uploaded precicely what is in the preview folder that the program generates… It all works ok offline.

The user has modified some files and renamed some
and new problems arose


delete this line

you can’t have multiple versions of jquery at once

that’s why they clash

ok i will delete line as requested

1 Like

After that
while viewing your website press CTRL + F5