WebSite X5Help Center

 
Paul W.
Paul W.
User

Jqery.min.js and JQery accordion html  en

Autore: Paul W.
Visite 1045, Followers 1, Condiviso 0  

jpw.ca 

I have received instructions from a coder. It included inserting a script in the header and some html code around the text. Here is a sample link to explain http://www.manideeptest.co.nf/wilsonjp/accordion.html

I have uploaded the jsqery.min.js to the site's public html file and the code does not work on the site.

Question - Is there something diferent in procedure with Evolution 11?

Postato il
4 RISPOSTE - 1 CORRETTO
Andre E
Andre E
Moderator

Try adding the code in the res folder of your site.

(you can use the upload buttons in x5 on top once connected to your host.)

If in the script or html code there is any reference to the js file then set it accordingly to the res folder.

Then try again.

Leggi di più
Postato il da Andre E
Paul M.
Paul M.
Moderator

Hello J P,

It looks like you accidentally uploaded jquery.min.js to the wrong directory on your server, as it is definitely not present:

http://jpw.ca/jsquery.min.js

In any event, WebSite X5 already includes jQuery in the pages it produces...  this link shows the location on your own server:

http://jpw.ca/res/jquery.js?30

It doesn't make any sense to load jQuery twice, even if the version you are attempting to use is the minified one.  This will only increase page loading times, which in turn will have a negative effect on your search engine ranking.

Hope this helps,

Paul

Leggi di più
Postato il da Paul M.
Paul M.
Paul M.
Moderator

Sorry Andre, I posted before I saw your reply  

Leggi di più
Postato il da Paul M.
Andre E
Andre E
Moderator
Paul M.
Sorry Andre, I posted before I saw your reply  

No problem at all Paul.

Leggi di più
Postato il da Andre E