WebSite X5Help Center

 
Paul W.
Paul W.
User

Jqery.min.js and JQery accordion html  en

Автор: Paul W.
Просмотрено 1047, Подписчики 1, Размещенный 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?

Размещено
4 Ответы - 1 Корректно
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.

Читать больше
Размещено От 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

Читать больше
Размещено От Paul M.
Paul M.
Paul M.
Moderator

Sorry Andre, I posted before I saw your reply  

Читать больше
Размещено От Paul M.
Andre E
Andre E
Moderator
Paul M.
Sorry Andre, I posted before I saw your reply  

No problem at all Paul.

Читать больше
Размещено От Andre E