Javascript Slideshow does not run

I see multiple jquery scripts there… they have different name and file sizes…??

why are you so hard

you didn’t even do what I told you

but you changed everything again

I have no will to spin in a circle

1 Like

well to make things easier i redid the slideshow with JPG numered 1-11.as there was a comment about the names being a problem.
I hv uploaded 2x index files so you can compare if the Action scripts are part of the problem. Thats all…

you can’t call multiple jquery in your HTML (2 of them)

that’s why I told you to delete that line
and you did not delete but modified and added a new one which again calls a new jquery


here’s the part that works (run locally)
before you changed everything again
look at it and learn something from it

DOWNLOADS.zip (1.7 MB)
It’s quickly made - just for you to get an insight
(not for uploading to hosting because I didn’t fix some other things)

Bye

3 Likes

All these jquery scripts are for the slideshow effects.
The slideshow will only use the script its programmed for… in this case “Drop down”
The others are redundant…

#TabMenu1 {


with respect sir… these are not the same… they are different sizes,and names .
One is jquery_1.js at 70.4 kb the other is jquery_012 at 76.7 kb
And as i previously mentioned there are another 12 jquery scripts in the html…

but contain the basic jquery code inside (open each with a notepad and see )
and because of that it clashes (rounded in the pictures above )

I see you know better, so I’ll leave it to you

1 Like

I wouldn’t say so !
It doesn’t seem to me that you respect anyone’s time here.

Your question is why the slideshow doesn’t work

Now try to understand this:

I sit down and take 5, 10 or 15 minutes to get acquainted with this code from your website
to put together a mental picture in my head of that mess

After that I’m sure the script slideshow is missing

for 2 days you have been writing here about something instead of uploading that necessary script

You finally uploaded it.
But along the way changed all the names of the other scripts
as well as a good piece of code in HTML

(btw. it is often important in which order the external scripts are called)

and when you run the website it doesn’t work again

I sit down again and take the time to get acquainted with the new situation on your site
(it’s like another member of the forum asking a question about a fifth website because the code is different)

I’m telling you to delete one line of code
but you add a modified line of code instead

Remember your question is why the slideshow doesn’t work

again I tell you why it doesn’t work

I’m uploading a file for you to download (the code that works and to open it and study it)

Trust me it would be much easier for me to write your complete website from the beginning than to waste time debugging all this every time you change something

In addition the versionS of jquery you are using has vulnerability (XSS)

and now
if I told you again what the problem is
you would do something completely different

Does it then make sense for me to go through all of the above again at all?

it might be easier and safer for you to go to Client area > Control panel

and there you will find the Softaculous app installer and install WordPress
And with that act
you wouldn’t have problems with weird HTML builders, a mass of unnecessary code that isn’t even HTML5, several versions of scripts that have an XSS vulnerability. etc.


See you have two versions of the jquery script (look at the names)

And if you want to have multiple versions at once in some HTML
then you also have to change your code

and invoke separate versions there

So instead of

$('#selector').function();

you’d do jQuery_1_4_4('#selector').function();
or
jQuery_1_4_2('#selector').function();.


Or use

jQuery.noConflict()


But why so many complications for some slider ???

why would visitors download 140KB (2 versions of JQ) just to rotate a few images in a slider ?

It’s not normal and it just chokes the speed of your website and causes conflict between scripts

3 Likes

With regard to the lines to delete as shown in your screenshot…
My File manager sees differently.
This is lines 182-192 as per my view… it is quite different from yours… and no…
i did not make any changes to the code as you suggest.
It could be the newer vsn page for some reason has different code?
See below

Sir pls advise which jsquery to delete… 1 or 12 or does it not matter?

Lines 182-192.

How about you download the code OxyDac spend quite a lot of time on and use it. Then, learn how it works, and why, so you know how to fix these things in the future.

Download Link

1 Like

Ok… please understand… I have zero coding knowledge…
i use a wysiwyg Site builder which spits out all the html.
What it does or haow … i have no idea…
Thanks for your long and descriptive reply about the situation. My apologies for the excessive replies etc…
maybe we should just leave it… I will look into other solutions.

Or use the working code that was already given to you…

And if you have zero knowledge, please take what others have said, and stop trying to incorrectly prove that they are wrong.

Thanks.

2 Likes

Delete this line

2 Likes

if you don’t know how to simply erase that line (up)
go to the Client Area and there you will find the File Manager (monstaFTP)

  1. Find your index.html with it (with monstaFTP)
  2. right mouse click on index.html and choose EDIT
  3. find that code/line and delete it
  4. click save button
  5. then visit your page (domain in the browser) and press CTRL + F5 just in case
2 Likes

Username (e.g. epiz_XXX) or Website URL

fast trak.xyz

Hi oxydac

i’ve started a new post as i now have to wait 15 hrs… :frowning_face:

I hv deleted that line googl apis…
It runs offline as usual… but still not from the website.
I notice the Action scripts also do not work…
Is there some common reason do you think

I’m going to suggest you use a more trusted and documented thing mage carousel.

1 Like

slideshow works !

wait 7 sec until it starts (+ DOM ready)

if you do not see the change press CTRL + F5 (while you are on your website with browser)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.